2 ms·
Disagree, but depends on context. When you have a complex monolith, unit tests and static typing allow you to create features and refactor the code fearlessly
by fsloth 4y ago
Disagree, but depends on context.
When you have a complex monolith, unit tests and static typing allow you to create features and refactor the code fearlessly ("Computer says no" is a good thing here).
For example, a decades old cad product with millions of lines and tens of developers doing parallel changes. The unit tests allow the continuous integration system to dish out isolated reports on failing tests before pullrequest is merged to main, instead of integration test just bombing at some random place.
Unit tests save time.