Re:Ask HN: Depressed, need to leave web development, what ca...
by sli on Monday August 15, 2022 @06:08AM
(#32467826)
TypeScript is a Microsoft band-aid on problems far better solved by other languages. The level to which people praise it feels like Stockholm Syndrome, and criticizing it frequently gets the stereotypical toxic programmer forum replies like "well you just don't know how to use types." It's impossible to speak critically about TypeScript unless you write long blog posts.
[ Parent
| on HN ]
Re:Ask HN: Depressed, need to leave web development, what ca...
by clouddrover on Monday August 15, 2022 @07:19AM
(#32468261)
> It's impossible to speak critically about TypeScript unless you write long blog posts.
If it takes a long blog post to find something to criticize about TypeScript then I'd say that's a sign that TypeScript is doing something right.
Re:Ask HN: Depressed, need to leave web development, what ca...
by sanitycheck on Monday August 15, 2022 @07:07AM
(#32468178)
It totally is, but it does largely work as intended.
For people who've been dealing with JS for years it's a big improvement which I guess is why it gets so much praise. (The love for React, OTOH, must be Stockholm Syndrome!)
Other languages are better, but transpiling from them to JS has (arguably?) bigger downsides than using TS. WASM is the big hope for some people, of course, but it's only really good for heavy lifting at the moment.
Re:Ask HN: Depressed, need to leave web development, what ca...
by cutler on Monday August 15, 2022 @06:36AM
(#32467995)
Static typing zealots have butchered perfectly good dynamic languages like Python and Ruby in recent years after M$ took over Javascript like Russians invading Ukraine. Even Ruby ffsake. Soon Clojure will be the only refuge for us devs who value dynamic languages.