Re:TypeScript: a language for application-scale JavaScript d...
by jasondenizac on Tuesday October 02, 2012 @02:53AM
(#4600856)
new scoping for `var`? Like the block-scoped `let`?
[ Parent
| on HN ]
Re:TypeScript: a language for application-scale JavaScript d...
by hermanhermitage on Thursday October 04, 2012 @12:52AM
(#4610939)
Yes.
I'd prefer to change the semantics than introduce new keywords. Of course there are two schools of thought - I favour a small language over backwards compatibility. (And interim tools for migration).
Where I do favour extensions is for expressiveness or performance reasons.