That's cause it is pretty epic when you think about it. We have made lifeless objects we can bestow with our intelligence, and they in turn can affect the world tangibly using only the mere inscription of information.
"There are only two kinds of languages: the ones people complain about and the ones nobody uses,” Bjarne Stroustrup. As much as I hate JS, he has a point
It’s true. Mostly because widespread usage means adding/subtracting features based on short-term business needs instead of deeply thought out, conceptually sound design principles.
Good for them! Ive been enjoying Java since start but one day Kotlins blessing has come upon me and its so great. It gives so much Daniel / Cooler Daniel vibes! Wish more companies would prefer Kotlin at least for new projects
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.
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?
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
What? Ruby on Rails is what Twitter was originally built on. Huge platforms are still using it. It was a top ten language in 2015, and though it’s far from its peak it’s quite stable now. Do you only talk to Java and Python devs?
I’ll never forget the time I interviewed the hotshot digital agency in town for a job and the owner scoffed hard and gloated over Ruby’s supremacy vs the Node ecosystem in terms of app development when I said I saw myself making a career of web app development with JS.
Then React launched, and I only think about him when people mention Rails now.
1.0k
u/pydry 17h ago
Correction : JavaScript is the weird language people actually use.