“That’s why every team needs to consider all the benefits of the statically typed language adoption, decide whether they outgrow the cost and think through why they need a new language.”
- A lot of errors may be caught in an early phase of development and be fixed immediately, rather than lurking in the code to be discovered much later.
- Refactoring becomes more straightforward with the statically typed language. Developers gain more confidence thanks to the compiler or type-checker, notifying them about the type errors.
- Types serve as excellent documentation. It’s easier for new developers to dive into some fragments of the codebase and start working with them without any broader knowledge about the codebase.
- Safety that comes with static typing can be a huge productivity boost.