3 ms·
Typing and tests definitely help, but nothing works better than having well-factored, decoupled code, so a change in one place doesn’t impact the rest of the co
by wtetzner 4y ago
Typing and tests definitely help, but nothing works better than having well-factored, decoupled code, so a change in one place doesn’t impact the rest of the code base in unexpected ways. Unfortunately I don’t know of a good way to do that outside of experience + vigilance.
- baby 4y agoGood abstractions + asserts + minimal assumptions everywhere in the code (also called refactoring-resistant code)
- deleted 4y ago[deleted]
- bcrosby95 4y agoUnexpected is an interesting word. This probably means consistency is important, because expected in one codebase could be unexpected in another.