r/webdev • u/gece_yarisi • May 18 '25
Discussion I wonder why some devs hate server side javascript
I personally love it. Using javascript on both the server and client sides is a great opportunity IMO. From what I’ve seen, express or fastify is enough for many projects. But some developers call server side javascript a "tragedy." Why is that?
193
Upvotes
View all comments
Show parent comment
7
u/ub3rh4x0rz May 19 '25
Now give a counterexample in the language of your choice.
The whole "typescript doesn't enforce types at runtime" thing is a caution to people who don't understand that, not because some other language would do it differently. You can just as easily make a dangerous cast in any compiled language that lets you do that and then poof it will blow up at runtime, just like js. If you're writing 100% TS, it's a meaningless distinction, because all the calling code was part of compilation, too.