Re:TypeScript’s quirks: How inconsistencies make the languag...
by DonHopkins on Saturday February 01, 2020 @07:16AM
(#22210121)
>It's almost worth a study how Microsoft managed to do that.
It's almost as if Microsoft learned the techniques of linguistic evangelism from Sun when they studied the ideas behind Java to design C#, but they left out the anti-linguistic-miscegenation Java-supremacist ideals of "100% Pure Java [TM]" when they made it easy to integrate other mongrel languages with COM and P/Invoke.
Re:TypeScript’s quirks: How inconsistencies make the languag...
by TomMarius on Saturday February 01, 2020 @06:12AM
(#22209927)
They did it by solving a great pain of a very large amount of people. Not many of these people would have been able to use Dart or PureScript.
Re:TypeScript’s quirks: How inconsistencies make the languag...
by tigershark on Sunday February 02, 2020 @01:44AM
(#22215548)
Typescript unlike Dart, Purescript, Fable and BuckleScript is a superset of JavaScript so you don’t have to change anything in your existing JavaScript project to start using Typescript.
Also JavaScript interop is a breeze and a huge percentage of the libraries have already typescript binding and it’s a huge advantage compared to using the aforementioned languages.
You mean Microsoft managed to get traction? It seems most TS proponents don't realize TS is a success because they fell for smart marketing and serious money behind the project, not because it's a better language than 'other efforts' like for example Purescript or Dart.
But every comment I make against TS seems futile. TS proponents defend their little language very fiercely regardless of all the flaws it has. It's almost worth a study how Microsoft managed to do that. Overall a real pity, because there are so many better options and ideas for those who want static typing. TS is actually the worse choice IMAO.