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
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.
1.0k
u/pydry 17h ago
Correction : JavaScript is the weird language people actually use.