3 ms·
I disagree with the sentiment that the best way to move forward is always to start hacking. I too tried to learn TDD by simply writing tests first, which was fr
by gsabo 14y ago
I disagree with the sentiment that the best way to move forward is always to start hacking. I too tried to learn TDD by simply writing tests first, which was frustrating and unproductive.
That approach seems similar to learning to program by typing random words into iPython until something happens - it could work, but it's going to take you months to even discover a "for" loop. It's better to read a tutorial and the documentation while experimenting.
I finally caught on to TDD after watching the screencasts at destroyallsoftware.com, and I highly recommend it to others wanting to learn. TDD is a completely different way to develop, not just an additional step on your old routine.