3 ms·
It may not boost productivity upfront, but it saves a lot of time down the line by alerting you when something is out of place.
by blakecallens 10y ago
It may not boost productivity upfront, but it saves a lot of time down the line by alerting you when something is out of place.
- zzalpha 10y agoNo, that's the value of automated regression test. TDD is just one way to skin that particular cat.
- blakecallens 10y agoAnd that test winds up in v0.1.1 of your software magically, or is it there because you put it in the work to add it up front?
- skookum 10y agoYou seem to be conflating the existence of unit tests with TDD.
- zzalpha 10y agoNice work on the false dichotomy. :) TDD has a very specific meaning. It means you write tests, then write code that passes those tests. That specific order. If you're not doing that, you're not actually adhering to the definition of TDD. TLD could mean, for example, writing a module, class, or function with a defined interface that implements the contracts for that interface, then writing the suite of tests to validate that module, after which you move onto the next module. Strangely enough, you can do that while you're developing the product without adhering to the process dictated by TDD.