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
3
u/0aky_Afterbirth_ May 19 '25
All great points here. The team I work on builds and maintains enterprise backend services for software that has several million daily active users, and about 90% of our codebase is Typescript, and we’ve run into pretty much every single issue that’s called out here.
I like TypeScript as a language, but for enterprise backend services, it just doesn’t scale well, in pretty much every way (development, CI, and runtime).
We continue to use it because our team has, in recent years, more experience with TS than any other language, and we’ve invested thousands of lines of code in common internal TS utils and tooling for our organisation (several of our front end teams use TS as well), so it would be prohibitively expensive and time consuming to migrate most of our services to another language.
But know what we know now, TypeScript is just not the best tool for the job for our enterprise backend APIs.
I predict that sometime in the near future, we’ll reach the tipping point where TS becomes the bottleneck in terms of overall performance/cost optimisation (taking the TS refactor cost into account), and we’ll have no choice but to start rewriting.