News for hackers. Stuff that matters.
Re:The State of JavaScript - Brendan Eich by cmccabe on Wednesday October 10, 2012 @03:12AM (#4635388)
I like the structural subtyping. This is a feature I also like in Go.
Re:The State of JavaScript - Brendan Eich by colin_jack on Wednesday October 10, 2012 @10:34AM (#4636458)
I know +1's don't help but ditto from me.

I haven't had time to use TS much yet but the combination of structural type system (not needing to inherit from IFoo, if you have the members it's enough) and optional typing look like exactly what I want.

Hopefully this pays off in terms of not only self-descriptive code but also greater support for refactoring tools.

Re:The State of JavaScript - Brendan Eich by BrendanEich on Friday October 12, 2012 @10:39PM (#4647707)
In many ways, TypeScript is the "anti-Dash" (see leaked Dart memo). It builds on ES6. It does not inject novel runtime semantics. It just checks annotations _a la_ JSLint. Smart!