News for hackers. Stuff that matters.
Re:What's New in Webpack 2 by k__ on Tuesday February 02, 2016 @06:24AM (#11018814)
Why not purescript or elm?

I have the feeling that those Haskell like type-systems are superior to this whole Java/C# stuff.

Re:What's New in Webpack 2 by Matthias247 on Tuesday February 02, 2016 @10:39AM (#11020071)
I would guess that compatibility with existing JS libs is far easier with Typescript. You can trivially consume an existing JS lib from TS or export/compile your TS lib to pure JS, which other JS then can seamlessly consume.

Although I don't have bigger experience with Elm, Purescript, Scala.js, Ceylon, Websharper & Co I guess its more complicated with them. An advantage here is also that Typescript does not bring along it's own standard library (e.g. new collection types) which could cause problems on interoperability.

Another advantage is getting other people on board. Getting developers from pure JS to typescript is not difficult, especially when they are used to Java/C++/C# (which most developers are). The learning curve for the other languages will be higher for most developers.

Re:What's New in Webpack 2 by Keats on Tuesday February 02, 2016 @06:45AM (#11018875)
Well those 2 are entirely new languages, not just javascript with types added so they are not the same thing.

Not everyone knows or want to learn Haskell