The one technology that piqued my interest in TypeScript. As a software engineer that has work mostly on dynamic typed languages such as Ruby and Javascript, learning TypeScript has been a really eye opening experience for me.
My general experience of using TypeScript and this is based on my personal experience , using a typed language does the following things better than a dynamically typed language:
- Types together with Automated tests, give developers the confidence to refactor code, because of the help you get from the compiler and IDE. This generally means that the code will have less technical debt.
- Modelling domain objects using Typescript' structural sub-typing. As opposed to the classic typing from c# and java, typescript's type system .
Now code are written coupled to interface, as opposed to class-typing done in Java.