3 ms·
...which can have its benefits, but can also go terribly wrong if you get lost. (Case in point, Peter Norvig comments on a famous series of TDD blog posts that
by kleiba 14y ago
...which can have its benefits, but can also go terribly wrong if you get lost.
(Case in point, Peter Norvig comments on a famous series of TDD blog posts that had the goal of writing a Sudoku solver, but ultimately failed:
"And I could see, right from the start, you put these two together, and you could solve this Sudoku thing. He didn’t know that so he was sort of blundering in the dark even though all his code “worked” because he had all these test cases."
http://pindancing.blogspot.com.au/2009/09/sudoku-in-coders-at-work.html http://pindancing.blogspot.com.au/2009/09/sudoku-in-coders-a...)
- thirsteh 14y agoDefinitely. I'm not a big fan of TDD myself. I think that an advanced system can add a lot of the same checks, leaving you to do just the scrutinous testing via e.g. QuickCheck.