TypeScript

26 views
Skip to first unread message

Aaron S

unread,
Oct 2, 2012, 3:35:41 PM10/2/12
to uta...@googlegroups.com
http://en.wikipedia.org/wiki/TypeScript

Utah JavaScript gurus... thoughts on TypeScript?

Thanks,

Aaron

John Lindquist

unread,
Oct 2, 2012, 3:43:38 PM10/2/12
to uta...@googlegroups.com
Well, TypeScript is basically ES6 with types.

Typing really helps when building tools/IDEs (even if it's only compile-time checking), but code inspections, refactorings, etc will definitely benefit (I imagine that's why Microsoft/Visual Studio are pushing for this).

Whether typing helps with large apps, teams, readability, etc are all a matter of personal experience and opinion, but I would argue in favor of it.

-John



--
Lunches rotate cities on Wednesdays. Meets on the first thrusday of each month http://utahjs.com/location/
---
You received this message because you are subscribed to the Google Groups "Utah JavaScript" group.
To unsubscribe from this group, send email to utahjs+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/utahjs?hl=en-US.
 
 

Bret Little

unread,
Oct 3, 2012, 11:03:58 AM10/3/12
to uta...@googlegroups.com
I actually really like it. The current problem I have with coffeescript is that it feels hard for us to move our existing code to a totally different language. I don't think I can convince my entire team to move to coffeescript. And even if we did, it would make a larger barrier of entry for someone new in the codebase. 

TypeScript is interesting because as John mentioned, it is essentially ES6 with a few extra features. It is a superset of javascript, so your existing codebase is "TypeScript".  This makes it easier to move an existing project towards. The syntax isn't that foreign and it is what the industry will be moving towards with ES6. 

Overall I think it is great, other than that most tooling seems to be built around Visual Studio and I am not going to do web dev in Visual Studio....ick. I'll have to get my feet wet before I get any stronger feelings :)

Brandon Pedersen

unread,
Oct 2, 2012, 3:49:54 PM10/2/12
to uta...@googlegroups.com
I agree mostly with Miguel de Icaza's first impressions:
http://tirania.org/blog/archive/2012/Oct-01.html, most especially that
the benefit is really only useful inside an IDE and right now that
means only Visual Studio....not sure how many of you develop on
Windows (and with Visual Studio) but I sure don't. That's not to say
that Visual Studio isn't great, it is awesome, just that I don't have
resources to buy it and cringe when trying to develop on Windows.

-Brandon

Buyog

unread,
Oct 3, 2012, 11:15:05 AM10/3/12
to uta...@googlegroups.com
They've certainly pitched it the right way -- it's a superset of JavaScript, a free open-source transpiler exists, it can be transpiled to ES3 on the fly in browsers that don't natively understand it, etc. Seems basically similar to the CoffeeScript approach, and that one's certainly gained a loyal following.
 
Like John said, anything that helps organizations better manage large code bases seems like a win.

AJ ONeal

unread,
Oct 3, 2012, 11:22:48 AM10/3/12
to uta...@googlegroups.com
JavaScript; it's the new Assembly.

Dart, TypeScript, ES6, CoffeeScript and more, all compiled down to a single language to be compiled down to machine code.

It's monster language madness madness madness on monster language Sunday Sunday Sunday. Be sure to tune in for the most exciting event of the year. Tickets must be purchased in advance. Inconvenient convenience fee may apply.

AJ ONeal

--

John Lindquist

unread,
Oct 3, 2012, 11:29:56 AM10/3/12
to uta...@googlegroups.com
We're bringing TypeScript support to WebStorm/Intellij (which should help Mac/Linux guys): http://youtrack.jetbrains.com/issue/WI-13714

It's interesting that since we already support ES6 it's now just a matter of bringing our type support from ActionScript over to ES6 (that's an over-simplification, but it holds pretty true).

We'll have all the inspections, refactorings, etc of all the other static languages, so it should be pretty interesting once its all put together.

I am a little scared that we'll start seeing AbstractFactorySingletonBuilderBean classes in JS though...

Brandon Pedersen

unread,
Oct 3, 2012, 11:48:54 AM10/3/12
to uta...@googlegroups.com
On Wed, Oct 3, 2012 at 9:29 AM, John Lindquist <johnli...@gmail.com> wrote:
> We're bringing TypeScript support to WebStorm/Intellij (which should help
> Mac/Linux guys): http://youtrack.jetbrains.com/issue/WI-13714

Awesome! Can't wait.

> I am a little scared that we'll start seeing
> AbstractFactorySingletonBuilderBean classes in JS though...

Haha! no kidding

> On Wed, Oct 3, 2012 at 9:22 AM, AJ ONeal <cool...@gmail.com> wrote:
>> Dart, TypeScript, ES6, CoffeeScript and more, all compiled down to a
>> single language to be compiled down to machine code.

Dart though can be standalone and run in the Dart VM. I kind of wish
that the Dart and TypeScript guys could get together and merge some
ideas. I like TypeScript's syntax more than Dart's but I like that
Dart can exploit the use of the types to run more efficiently if run
in the VM.

Bret Little

unread,
Oct 3, 2012, 11:54:42 AM10/3/12
to uta...@googlegroups.com

Bret Little

unread,
Oct 3, 2012, 11:55:25 AM10/3/12
to uta...@googlegroups.com

Jamund Ferguson

unread,
Oct 3, 2012, 2:10:20 PM10/3/12
to uta...@googlegroups.com
He y guys,

What's the deal for the meeting tomorrow?


Sent from my iPhone

Ken Snyder

unread,
Oct 3, 2012, 2:23:45 PM10/3/12
to uta...@googlegroups.com

Meeting agenda is up at http://utahjs.com :)

Sent from my Android phone

AJ ONeal

unread,
Oct 3, 2012, 2:26:24 PM10/3/12
to uta...@googlegroups.com
Boom!!! Done and Done!

October 4th Meeting

September 28, 2012 in Announcements, News

Agenda

7:00 PM – Welcome
7:05 PM – Beginning JavaScript Presentation
7:10 PM – Full Text Search with NodeJS and SQLite (AJ)
8:00 PM –  Preparing to interview at Silicon Valley Tech Companies (Aaron Frost)

Come hungry. There will be dinner!

AJ ONeal
(317) 426-6525

On Wed, Oct 3, 2012 at 12:24 PM, Jamison Dance <jerg...@gmail.com> wrote:
Still, we need to announce these on the mailing list.

Jamison Dance

unread,
Oct 3, 2012, 2:24:20 PM10/3/12
to uta...@googlegroups.com
Still, we need to announce these on the mailing list.

On Wed, Oct 3, 2012 at 12:23 PM, Ken Snyder <kends...@gmail.com> wrote:

Stanley Stuart

unread,
Oct 3, 2012, 7:36:55 PM10/3/12
to uta...@googlegroups.com
I can't remember if somebody posted it already, but I found out today that it supports source maps , which is awesome! 

--

Stanley Stuart

unread,
Oct 4, 2012, 6:19:46 PM10/4/12
to uta...@googlegroups.com
Who's giving the lightning talk/beginner presentation and what's it on? :]

Kip Lawrence

unread,
Oct 4, 2012, 6:23:48 PM10/4/12
to uta...@googlegroups.com
Any volunteers?

-Kip

On Thu, Oct 4, 2012 at 4:19 PM, Stanley Stuart <dstanle...@gmail.com> wrote:
Who's giving the lightning talk/beginner presentation and what's it on? :]

Stanley Stuart

unread,
Oct 4, 2012, 6:25:27 PM10/4/12
to uta...@googlegroups.com
I've got it. Prepared to be amazed at the power of Streams in Node/the browser

Jamison Dance

unread,
Oct 4, 2012, 6:39:34 PM10/4/12
to uta...@googlegroups.com
Can't make it tonight, death crunch right now :(.

On Thu, Oct 4, 2012 at 4:25 PM, Stanley Stuart
<dstanle...@gmail.com> wrote:
> I've got it. Prepared to be amazed at the power of Streams in Node/the browser
>

Brandon Martin

unread,
Oct 4, 2012, 6:43:18 PM10/4/12
to uta...@googlegroups.com
I still need to make it to my first one, but tonight is not going to work for me either. Maybe next time.

Thanks
Reply all
Reply to author
Forward
0 new messages