|
|
|
|
|
by couchand
4530 days ago
|
|
I think you're spot on here - TDD is great as long as you're not too obstinate about it. It's a trade off, just like every interesting problem. One point I'd like to draw out. If you don't have a clue how you want to build things, TDD isn't going to help. This is exactly right. If you find yourself completely unable to articulate a test for something, you probably don't really know what it is you're trying to build. I think that's the greatest benefit to TDD: it forces you to stop typing and think. |
|
Sounds crazy, but this is how I do everything I don't understand. And my second implementation is usually better than my first.