Decided
We're still using JavaScript and Node.js, but try to stick with TypeScript for new services and modules. About the benefits of static typing much has been written, in short it:
- offers better maintainability and discoverability of existing code bases
- provides reasonable type safety, which frees us from writing a huge chunk of unit tests and mitigates a large set of problems that are caught in compilation
- affords a new level of expressiveness via types
Nothing is without trade offs; we are aware of, and accept that:
- fighting the compiler can be frustrating
- it adds to the already large list of skills a web developer has to learn
- it adds another piece to the already large set of tools necessary to get code from development to production
0 views0