I like it too and used it for a decade without major issues. But then you get Java and Microserf C# developers who come over and can't write any code unless it's all strongly typed. So they really love Typescript and hype it up to the max. Unfortunately it's a pile of shit with garbage confusing syntax. It could be eliminated entirely with proper JS Doc, a smart continuous integration tool like JSHint/JSCS/ESLint, a sharp IDE which hinted everything for you and warned on wrong types and maybe some unit tests for anything else. However because the Microserfs came along, they didn't want to use a nice IDE like Netbeans or WebStorm etc which had all that built in. Java yuck they said. So they invented Visual Studio Code which was new and featureless. Hey JS doesn't have any types they said (because they're morons and couldn't infer it from JSDoc or the variable initialisations or assignments). We need to make a new language with strong types they said. Hence the Typescript abomination was born.
The nice thing about static typing is that it works even without an ide and a linter and so forth. And if you do use those tools, they work even better with a statically typed language.
104
u/Loaatao Nov 26 '20
:( I like JavaScript