r/ProgrammerHumor 17h ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.4k Upvotes

262 comments sorted by

View all comments

1.0k

u/pydry 17h ago

Correction : JavaScript is the weird language people actually use.

20

u/sadongrohiik 16h ago

JavaScript is actually fine, what's not fine is it being crammed in everywhere it doesn't belong due to sheer laziness. You want to make button do stuff on the web? JavaScript is great. You're processing business logic on the backend? just no. I just do not understand why we'd rather jump through all these hoops just to make JavaScript fit where other languages fit naturally 

4

u/Maleficent_Memory831 9h ago

JavaScript just grew into that role, but being the browser-side language that let you push buttons. Creeping featurism let it be able to do things it should never have been able to do. Features added without a lot of thought and with incredibly weird semantics that were easier to implement without actually making a solid standalone language. It is weird precisely because it grew through accretion rather than design.

It's a wart on the side of a browser that grew and grew until it had arms, legs, and fingers.

3

u/HammerChilli 13h ago

Forgive me because I'm just a junior dev - but when the API is already written in Node or .ts I mean, it's gonna do some business logic with incoming requests, or are you saying back ends shouldn't be in js entirely?

3

u/sadongrohiik 12h ago

There was really never a real reason to use JS on the backend and it wasn't designed for it. There are tons of languages far more suited for backend. For some reason the idea of the entire codebase being in a single language appealed so much to many organizations that we continuously create weird abominations to fit a square peg in the round hole

1

u/Top-Rough-7039 13h ago

and webapps. there is already a browser, why add more issues.