4 ms·
The best way to explore solution space I've found is to make the simplest thing that works end to end then add addional cases. The reason that TDD doesn't work
by karmakaze 8y ago
The best way to explore solution space I've found is to make the simplest thing that works end to end then add addional cases. The reason that TDD doesn't work well is that it tends to be done bottom up which often has you building things you don't need, use, or worse use but with a poor fit.
So skip TDD if you know exactly what you're doing or have little clue. Use it if you want dopamine hits to motivate continuous progress on average complexity tasks. If it comes out wrong, commit a checkpoint locally, but attempt a refractor now rather than repeatedly paying the debt.
- karmakaze 8y agoHaving just written this, I can recall a number of times I've pushed the debt rather than follow my own advice. It's due to having written tests that must also be refactored (i. e. debt) and pairing where I don't apply as high a standard to keep moving forward.