4 ms·
3. Work in very small steps (a handful of lines of code) and incrementally build up as you go.
by jdlshore 3y ago
3. Work in very small steps (a handful of lines of code) and incrementally build up as you go.
- randomdata 3y agoIs that not just the outcome of #1? Short of trying to capture many different things in a singe test, which then becomes a nightmare for future readers, a single test just isn't going to touch that many lines of code and if you get ahead of the tests by doing more while you're in there then you're back to the problem #1 tries to solve.
- jdlshore 3y agoIn theory, it’s the outcome of #1; in practice, it’s a nuance many people miss.