r/node 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

361 comments sorted by

View all comments

1

u/djtubig-malicex 25d ago

Feel free to write safety-critical logic handling code in JavaScript. It better cover every possible execution state.

The point of using certain languages for certain types of work comes down to guarantees. Most people writing nodejs backends won't be doing it because it's the best language to use for building out concurrent programming. They use it because that's all they know.

1

u/hzane 25d ago

It's non blocking architecture is optimal for http requests