Live data from Hacker News

TypeScript included with Visual Studio 2013 Update 2

blogs.msdn.com

71–80 of 111 posts

Re: TypeScript included with Visual Studio 2013 Update 2

#71
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…

We've been using TypeScript here at triggre.com. We're really pleased with it. The type system catches a lot of errors that would have otherwise cost a lot of QA time to identify.

Re: TypeScript included with Visual Studio 2013 Update 2

#73

Earlier quoted context omitted.

My only gripe - VS is way too expensive, for my pocket at least. And you need VS to program in TS, Intellisense is that good. Sure, you can go with Express edition but then you don't have node.js extension - which kinda make the whole endeavour bit pointless (again, for me at least). Wish they would bring prices to the level of, for example, those of Jetbrains, or made node.js extension working with Express.

I write TypeScript in vim and don't wish to run proprietary software, save for a few games on a machine dedicated for that purpose. It works simply by adding this line on the top or bottom: /* vim:set filetype=javascript: */ You can add other options in there as well, so it's easy for others to match your indentation style for instance.

Why don't you use https://github.com/leafgarland/typescript-vim?

There is also https://github.com/clausreinke/typescript-tools

Re: TypeScript included with Visual Studio 2013 Update 2

#74
post #64
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 also switched two of my research projects over to TypeScript from CoffeeScript [1,2]. I'd like to state up-front that CoffeeScript still has its merits in certain scenarios; they are two very different projects, despite both providing convenient `Class` abstractions over prototype-based inheritance. With that said, using TypeScript has vastly decreased the amount of mental state I need to keep in my head when I dev…

There's a brackets[1] plugin[2] that looks like it might have potential.

[1] http://brackets.io [2] https://github.com/fdecampredon/brackets-typescript

Re: TypeScript included with Visual Studio 2013 Update 2

#75
post #8

Earlier quoted context omitted.

If you have your own startup or small company or are a student, Microsoft has several options aimed at you: - BizSpark for startups( http://www.microsoft.com/bizspark/ ) - DreamSpark for students ( https://www.dreamspark.com/ ) and I think there are other options if you contact someone at your local Microsoft office. I've just started using BizSpark (for a side project with 2 friends, so the "startup" term is a bit l…

The first hit/dose is free. On the other hand you do have companies that do make millions that are bailing on certain aspects of Microsoft tools and servers due licensing costs and increases. I've been involved in IT budgeting for almost two decades and the CFOs don't always sign the check just because it's an IBM/Microsoft/Oracle solution. Software cost for my side projects: $0

I tried making the software cost for my side projects $0, and the non-Microsoft community does make it feasible, but I'm way too invested in Microsoft tools, so the productivity hit was way too steep.

I started with a stack of Grails + PostgreSQL, hosted on AWS (Elastic Beanstalk, etc.), it worked pretty nicely (I was particularly impressed with the ease of use of Elastic Beanstalk for an absolute newbie).

What I need is some free time, or a job switch (working on the 2nd part :) ).

Still, I tried most IDEs and other ways of development (Eclipse, IntelliJ, Sublime Text), and I still like Visual Studio the most. I also like Microsoft SQL Server a lot.

The Microsoft stack is certainly a lot more expensive than an equivalent stack if you have to pay for it, but having the BizSpark option, it makes a lot of sense if you come from a Microsoft background.

Re: TypeScript included with Visual Studio 2013 Update 2

#76
I have the feeling that many people who dislike this have never really worked with a static typing language. I have never really worked with anything except perl, php, javascript myself until a couple of years ago when i got into game programming with Unity3D using C# and Visual Studio. That experience was enlightening, VS (+ReSharper) is like your own personal AI assistant that deeply understands your code and helps you work more efficiently. Today, while working mostly with JS again (node/angular) i sometimes feel frustrated about WebStorms inability to do the right thing because it just can't understand the code in the way it could if JS was static typed. I mean, its still far superior to a pure text editor if you are working with large codebases imo, but i somehow miss the VS experience.

Re: TypeScript included with Visual Studio 2013 Update 2

#77

Now support for Less, Sass in the IDE instead of using Extensions ;)

LESS was added in Visual Studio 2013[1], SASS is in the 2013.2 CTP 2 release[2]

[1]http://blogs.msdn.com/b/webdev/archive/2013/11/06/a-high-val... [2]http://blogs.msdn.com/b/webdev/archive/2014/02/25/announcing...

Re: TypeScript included with Visual Studio 2013 Update 2

#78
post #42

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.

Webstorm is pretty awesome for Javascript, but then again what else can you expect from JetBrains?

I agree, never had any disappointment with them. Some may think I'm exaggerating but what I see is they are contributing to Visual Studio's success more than Microsoft.

Re: TypeScript included with Visual Studio 2013 Update 2

#79
post #45
post #24

Earlier quoted context omitted.

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.

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.

Is there no way to specify type of viewmodel somewhere? Ala d:DataContext from resharper?

Re: TypeScript included with Visual Studio 2013 Update 2

#80

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

Because I'd rather have proper types than stringly typed language requiring using a linter and 100% test coverage for avoiding trivial type mistakes.
Post reply on HN