3 ms·
To someone else that has programmed for a good 2 decades or more, the above sounds like cowboy programming that leads to unmaintainable systems. Unit and integ
by kyralis 7y ago
To someone else that has programmed for a good 2 decades or more, the above sounds like cowboy programming that leads to unmaintainable systems.
Unit and integration tests are not "substitutes" for good and modular design. Good and modular design work hand in hand with tests to produce reliable, well understood, and maintainable code. The most testable code is usually often the most well separated code.
A strong type system provides the third leg of the tripod. It's not replaced by or a replacement for either of the other two.
Stop thinking that you're too good for test code. Your future senior dev self will thank you.