loading...

re: Why I moved to TypeScript and have no regrets VIEW POST

FULL DISCUSSION
 

I just wanted to add that TypeScript is also great for Functional Programming, not only OOP. So even if you don't uses classes at all, and work with pure functions and composition, TS provides awesome tooling for that (readonly to avoid mutations by other devs, type inference based on output, and so on). And the fact that the output is generally just what you wrote without the types, so other devs that just use JS still get the benefits, makes it even better. I used TS since 0.8 (2012), and I can't recommend it enough, you just have to try it, is generally a one-way ticket.

code of conduct - report abuse