|
|
|
|
|
by tedyoung
4778 days ago
|
|
This is why I love TDD: the only code I need to think about are the tests that implement my expectations. Writing the code itself is easy, I just have to write the dumbest thing that will make the tests pass. Of course, this all assumes you've got the right architecture for the job. |
|
What you are forgetting here is the essential refactoring step in the loop.