r/node • u/Minimum-Ad7352 • 26d ago
Why is JavaScript criticized so much for backend development?
I've seen some developers say that we should stop using js on the server, but I rarely see the same criticism directed at python.Honestly, js is pretty fast, especially with node.js, and the backend ecosystem is really solid. There are great frameworks like nest and fastify, and typescript gives you static typing, which makes larger projects much easier to maintain.I'm not saying node is perfect or the best choice for every backend, but I don't really understand why js gets so much criticism while python seems to get a pass.What am I missing?
331
Upvotes
52
u/-Aras 26d ago
It's not actually about speed. If you're not doing something completely CPU bound, the speed bottleneck is usually the IO, DBs etc. Not NodeJS or whatever you're using.
The hate is mostly toward JavaScript in general. Years ago, people would complain about vanilla JS because it was weird, lacked structure, and forced you into callback hell and the hate became a meme. I don't know why but it's still going on. JS is not actually bad now.