3 ms·
I find that writing testable code is the route to clean, maintainable code. Sprinkle some readability improvements on top (naming, style), and that's pretty mu
by necovek 2y ago
I find that writing testable code is the route to clean, maintainable code.
Sprinkle some readability improvements on top (naming, style), and that's pretty much it.
In short, it's really hard to write badly structured code that isneasy to test, and good tests will usually be great documentation too.