3 ms·
What's wrong with TypeScript for backends? Specifically backends where the load is moderate or happening in the database anyway?
by quonn 1y ago
What's wrong with TypeScript for backends? Specifically backends where the load is moderate or happening in the database anyway?
- zwnow 1y agoI learned Javascript was made for making the web interactive. I choose to use it this way. There's nothing wrong with using it for backends too, I just prefer using other langs for that domain as it just doesn't feel right to build my backend in Js/Ts. For small and moderate projects I dont see issues, but I always build with scaling in mind and I'd like to keep the bill for that small.
- const_cast 1y agoTypeScript is a wildly unpleasant language. If I'm going to be waiting around for a compiler anyway, why not use an easier nominally typed language? I mean, dotnet is right there... and it's got features out of the wazoo. No need to download external libraries when your bloated backend framework ties your shoes for you. Or if I'm really into structural typing, Go is right there. I'll tell you, it compiles a lot faster. And a lot less type Olympics, too. Easier to read. Less bug-prone. TS isn't a bad language. But it's certainly not the best.
- nchmy 1y agoIndeed, might as well use Go if you're going to use TypeScript. Or ruby on rails, laravel, elixir or even WordPress, if you want things that are batteries included (which js frameworks or go still most definitely are not)