4 ms·
Typescript is amazing for frontend development, but I don't understand why anyone would use it on the server side? The point of TypeScript is it extends JavaSc
by goto11 5y ago
Typescript is amazing for frontend development, but I don't understand why anyone would use it on the server side?
The point of TypeScript is it extends JavaScript in a backwards-compatible way and still compile down to JavaScript which will run in any browser. It cant make the quirks and design mistakes of JavaScript go away, but it can protect the developer against them.
But on the server side there is no compatibility issues, so why not just use a well-designed language in the first place? C#, Python, Go...all of them are much better designed than JavaScript.