Re:TypeScript included with Visual Studio 2013 Update 2
by benawabe896 on Friday February 28, 2014 @11:07AM
(#7319536)
I still don't quite understand why anyone would use TS... especially without an IDE.
[ Parent
| on HN ]
Re:TypeScript included with Visual Studio 2013 Update 2
by judah on Friday February 28, 2014 @11:16AM
(#7319614)
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
by DCoder on Friday February 28, 2014 @11:55AM
(#7319906)
Be careful with that if you use data-binding in your templates, such as Knockout.js . Visual Studio doesn't know the types of your viewmodels, so those templates are not indexed and not subject to refactoring.
Re:TypeScript included with Visual Studio 2013 Update 2
by rat87 on Friday February 28, 2014 @03:05PM
(#7321105)
Is there no way to specify type of viewmodel somewhere? Ala d:DataContext from resharper?
Re:TypeScript included with Visual Studio 2013 Update 2
by davidp on Friday February 28, 2014 @11:19AM
(#7319635)
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
by shaneofalltrad on Saturday March 01, 2014 @02:50AM
(#7323568)
And at the same time doing what Java did, abstracting away what is under the hood, so when something brakes. SOL. But this might be good, keep JS for the Pro's and TS for the Joe's?
Re:TypeScript included with Visual Studio 2013 Update 2
by petilon on Friday February 28, 2014 @11:14AM
(#7319595)
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
by uglycoyote on Friday February 28, 2014 @11:22AM
(#7319657)
I have a hard time understanding why anyone would not want to use it.