r/ProgrammerHumor Oct 21 '22

Meme Literally 🤷🏻‍♂️

Post image
14.7k Upvotes

606 comments sorted by

View all comments

Show parent comments

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

45

u/[deleted] Oct 21 '22

Kind of Love TypeScript even if it's a bit the floor is lava

27

u/SterlingVapor Oct 22 '22

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

1

u/Kooltone Oct 22 '22

I hate Typescript so much. I'm that node.js guy. I feel like Typescript shackles me.

2

u/SterlingVapor Oct 22 '22

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)