|
|
|
|
|
by ulisesrmzroche
4481 days ago
|
|
No, you shouldn't write code first at all. As soon as you do, you break TDD. You have to write your test first. The practice is pretty dogmatic about this. The trick to writing a test first is that you have to write what you wish you had. It's kinda like Composed Method in that way. |
|
I'll stick with the smalltalk adage: code a little. Test a little.
No need for dogma.