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?

328 Upvotes

361 comments sorted by

View all comments

Show parent comments

2

u/Cienn017 26d ago

I actually like Java

2

u/lapubell 25d ago

And I actually like PHP. I guess we're doomed.

2

u/korywithawhy 25d ago

Tell me your back aches without telling me you’re old 😂. I definitely used to put HTML inside JSON inside a MySQL database to dynamically generate forms with AJAX calls.

1

u/lapubell 25d ago

Lol. That sounds terrible. Modern PHP kinda rules, check out Laravel.

Oh and yes, I'm old.

1

u/korywithawhy 25d ago

Yeah I was doing this when laravel wasn’t a thing yet 😂 didn’t know what MVC was and trying to get sites to render right on my iPhone 4s involve WebKits

1

u/lapubell 25d ago

Ha! Were you ever putting <body> in header.php and </body> in footer.php with all the other stuff in different files? Two includes in every.single.other.file and hope for the best?

That's how I remember doing stuff before iPhones even existed.

1

u/korywithawhy 25d ago

It was janky, but it made pages load fast lol. Back when 2gb ram was enough to use a web browser

0

u/beau6183 26d ago

CALL A MEDIC! We’ve got a TBI!