News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.0 by nmjohn on Thursday April 03, 2014 @04:33AM (#7521594)
Okay so if you don't use types, wouldn't you would just be writing vanilla javascript and would have no reason to use typescript in the first place though?
Re:Announcing TypeScript 1.0 by lmm on Thursday April 03, 2014 @04:38AM (#7521619)
It has a somewhat nicer syntax for functions and better scoping rules, but you could certainly get that from a more lightweight js extension like coffeescript yeah.
Re:Announcing TypeScript 1.0 by klibertp on Thursday April 03, 2014 @04:42AM (#7521626)
Not exactly, there is still type inference mechanism at work which, combined with DefinitelyTyped (https://github.com/borisyankov/DefinitelyTyped) declarations will get you quite a lot type safety even if you won't write any type declaration by yourself.