Comment by brianmcc
9 months ago
>> ... TDD is unlikely to help you solve problems that are beyond incremental changes.
Thank you for expressing this niggling problem with TDD. Personally I just cannot use it for "new stuff", I need to explore and create direct with "real" code for anything non-obvious.
I'm more of a DTT man myself: Develop, Then Test.
I've had a long and thriving career with the DSTYBYTD process.
Develop, Ship, Tell your boss you tested and documented.
+1
I think "code is carefully designed AND has a bunch of decent tests" places a codebase ahead of many tbh, even now, regardless of how it's produced
I suppose it depends on how you use it.. If you view it like you would a bit of paper and a pencil then it works a treat.
I want this to do X when I ask it with Y param. If you write out your spec's before you sit down to code.
When a user enters a bad password... print this to screen
TDD works great for new stuff when viewed as paper replacement.