Sr. Software developer ·

I use TypeScript because it greatly simplify my refactoring efforts. I regularly re-validate my assumption about application architecture, and strictness of types allow me write make changes safely using just Visual Studio tooling. Integration with existing JavaScript libraries very simple and fast. If I have no time, I could just use any type as output of JS module. When I have more time, I could just submit PR to DefinitelyTyped and it would be quickly accepted. Overall it gives less ambiguity for my code.

READ LESS
14 upvotes·1 comment·199.6K views
David Arteaga
David Arteaga
·
April 23rd 2019 at 4:29PM

Refactoring is a big one for me. You get almost instant feedback whenever you make a substantial change to the organization or implementation of a part of your codebase, even before you run unit tests and before you run the app.

Also it helps to have self documenting types that help you immediately see what kind of data some method expects and returns.

·
Reply
Avatar of Andrey Kurdyumov

Andrey Kurdyumov

Sr. Software developer