News for hackers. Stuff that matters.
Re:TypeScript: a language for application-scale JavaScript d... by hermanhermitage on Monday October 01, 2012 @07:03PM (#4599806)
This looks excellent a nice restrained effort. Hasn't fallen into the trap that ActionScript3 did with too much ceremony, and its nice to see a syntactic super-setting approach rather than Dart's.

Now what I'd like to see in Javascripts evolution (non backwards compatible):

    * Subract: Removing parts of the language - let crockford free to rip out the bad parts.
    * Enhance: Bring in some more taste of Scheme.
    * Replace: New scoping for var etc, without introducing new keywords.
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`?
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.

Re:TypeScript: a language for application-scale JavaScript d... by gcr on Friday October 05, 2012 @08:40PM (#4619330)
What would more "taste of scheme" mean? Do you mean like lexically-shaped macros?