On Thu, 04 Dec 2014 21:03:59 -0800 Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> On 12/4/2014 6:47 PM, ketmar via Digitalmars-d wrote: > > and what i also can't grok is "test-driven developement". ah, we spent > > alot of time writing that tests that we can't even run 'cause we didn't > > start working on the actual code yet. it's splendid! we didn't start > > the real work yet and we are already bored. i don't believe that this > > is a good way to develop a good project. > > What I find most effective is writing the unit tests and the code they drive > at > the same time. that's it. programmer needs something to test his newly written code anyway, so tests are natural here. some tests can be added as a reminders: "oh, and i want it to do this too, but don't want it to distract me right now. let's add a test for it, so i will not forget about it later." failed tests works, "TODO" comments are not. ;-)
signature.asc
Description: PGP signature