Live data from Hacker News

TypeScript included with Visual Studio 2013 Update 2

blogs.msdn.com

21–30 of 111 posts

Re: TypeScript included with Visual Studio 2013 Update 2

#22
post #17

While baking TypeScript into Visual Studio isn't a certainty of its future success (e.g. Silverlight), it is a good indicator of Microsoft's commitment to the language. As a former CoffeeScript user, I love TypeScript: it's a more consistent language driven by a real language designer, Anders Heijlsberg, author of Turbo Pascal, Delphi, C#, and now TypeScript. I am building 2 major projects using it: - RavenDB Managem…

I like the ideas of Dart much more, but the JavaScript-interop is rather bad in Dart, because of the DartVM focus.

TypeScript seems C# flange-mounted on top of JavaScript, but it's probaby the only viable alternative with good js-interop...

Re: TypeScript included with Visual Studio 2013 Update 2

#23

I still don't quite understand why anyone would use TS... especially without an IDE.

The IDE makes TypeScript compelling, but it is useful even without the IDE. You can use the command-line compiler to check your code for errors. This is extremely useful if you have thousands of lines of code and multiple developers working on the project.

Re: TypeScript included with Visual Studio 2013 Update 2

#24

I still don't quite understand why anyone would use TS... especially without an IDE.

Tooling is a big boon with TypeScript: Go to Definition, Find All References, Refactor->Rename, debug your TypeScript in Visual Studio.

You're right that if you don't use the tooling, TypeScript is of lesser value. Using things like classes, lambdas, modules syntax is still there, of course, and is quite a bit nicer than JS equivalents.

Re: TypeScript included with Visual Studio 2013 Update 2

#25
post #22
post #17

While baking TypeScript into Visual Studio isn't a certainty of its future success (e.g. Silverlight), it is a good indicator of Microsoft's commitment to the language. As a former CoffeeScript user, I love TypeScript: it's a more consistent language driven by a real language designer, Anders Heijlsberg, author of Turbo Pascal, Delphi, C#, and now TypeScript. I am building 2 major projects using it: - RavenDB Managem…

I like the ideas of Dart much more, but the JavaScript-interop is rather bad in Dart, because of the DartVM focus. TypeScript seems C# flange-mounted on top of JavaScript, but it's probaby the only viable alternative with good js-interop...

[deleted]

Re: TypeScript included with Visual Studio 2013 Update 2

#26

I still don't quite understand why anyone would use TS... especially without an IDE.

Enabling rich IDE support is precisely the point of TypeScript and similar enhancements like Python 3 type annotations: Give the computer in front of you enough information to automatically do for you what you would otherwise have to do manually, freeing you up to focus on higher level problems.

Re: TypeScript included with Visual Studio 2013 Update 2

#27
post #11

Earlier quoted context omitted.

I love VS for javascript. With ReSharper installed it is great. I guess maybe I answered my own question by admitting I need a JetBrains tool in there but: What tool is so great for Javascript? I use Sublime a lot as well on my Mac, and I don't like it as well.

> What tool is so great for Javascript? Chrome/Firefox dev tools.

As a regular user of Chrome dev tools, they're nice, but it's no Visual Studio.

Re: TypeScript included with Visual Studio 2013 Update 2

#28
post #22
post #17

While baking TypeScript into Visual Studio isn't a certainty of its future success (e.g. Silverlight), it is a good indicator of Microsoft's commitment to the language. As a former CoffeeScript user, I love TypeScript: it's a more consistent language driven by a real language designer, Anders Heijlsberg, author of Turbo Pascal, Delphi, C#, and now TypeScript. I am building 2 major projects using it: - RavenDB Managem…

I like the ideas of Dart much more, but the JavaScript-interop is rather bad in Dart, because of the DartVM focus. TypeScript seems C# flange-mounted on top of JavaScript, but it's probaby the only viable alternative with good js-interop...

That's probably because TypeScript has more in common with CoffeeScript than Dart as a language. Dart is a full featured language that can stand on it's own and has it's own runtime.

TypeScript is a superscript of javascript. It doesn't have a runtime - it gets transcompiled into javascript. If coffeescript is for writing javascript like you would write python or ruby, then typescript is for writing javascript like you would C#.

I've used TypeScript on a large project I'm working on. Sometimes I regret it. I went with typescript mainly because I was not as confident that I could just jump into building a large JS codebase. Now that I've been in that world for a year, many times I'm wishing that I had just gone with JS from the start, or maybe limited my use of TypeScript to just type annotations.

Post reply on HN