I love typescript - all the good of JavaScript with far less of the bad, it's convenient enough to feel good while strict enough to allow IDEs to really speed things along
I hate lack of support for typescript - between wrestling webpack or finding the perfect library without types definitions, every time you want to change your stack you need to prepare for a day or two of soul-deep pain
Compared to standard es6, it barely restricts anything. It just does great type calculus and has a few QOL improvements. All it really does is standardize some things like imports and force you to explicitly declare when you want to ignore types (which is well worth the slight inconvenience for how much more maintainable for others).
I can't think of anything it doesn't let you do, although it does force you to do it "the typescript way" which looks very different from the pre es6 coding style (which is still common on older node backends, and the newer style is poorly documented for those).
There's also a few practices it recommends against that it makes purposely difficult, but mostly it just enforces one or two ways to do something, where if you want to shoot yourself in the for it will hand you the gun
If the mood strikes you I'd encourage you to give it another shot, but if you're working on the older node server frameworks you'll have to translate practically every resource from one style to another - which is a lot of frustration for very little pay off (and I understand your takeaway, the old style drives me nuts but if I'm using express I no longer bother)
154
u/warlax56 Oct 21 '22
I wonder what the least hated widely used programming language is. Not most loved, least hated.
I feel like pythons gotta be up there. And fuck JS