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
2
u/c-digs May 19 '25
You're missing the point: I don't have to do this in typed languages; this is extra work in JS and it is inherently unsafe in JS beacuse
JSON.parsedoesn't actually care.So now you have to add a schema object using, for example, Zod or
class-validator. Is that fun? Would you rather not just write your types and be done with it? That's how it works in Java and C# and I have the option then of customizing serialization if I want to or need to but I don't have to do extra work with my domain models to ensure correctness.Typia is the only lib that somewhat brings that experience in TS.