3 ms·
This is the same reason why I think TDD is the wrong approach too. How do you test before you know what you're building? I've tried everything but my favored a
by alfiedotwtf 4y ago
This is the same reason why I think TDD is the wrong approach too. How do you test before you know what you're building?
I've tried everything but my favored approach these days is just to stream of conscious psuedocode in main() to get the shape of what needs to happen, and then backfill until there's something working. Once I know what I want, only then do I break things up so that everything is in the right place. It seems to end well every time.
tl;dr: bottom-up, and top-down are too extreme!
- thunky 4y ago> Once I know what I want, only then do I break things up so that everything is in the right place You could apply TDD at this point. Doesn't have to be before you write a single line of code.
- alfiedotwtf 4y agoYes, that would make sense... unfortunately companies I know that follow TDD religiously have taken the approach that tests drive design and development.