Hacker News new | ask | show | jobs
by sergiotapia 404 days ago
i didn't say i don't write tests. i trashed tdd, the practice of tdd is dogma, impractical and unrealistic.
1 comments

> Or, do you simply wait until after the program is written to [observe] its [behavior]?

How is that even possible?

Write the program, run the program, observe. Or, write the program, write the tests, run the program, observe for breakages. Neither are TDD, the practice of writing tests first before any actual implementation is written, which I agree with the parent is dogma, impractical, and unrealistic.
> Write the program

Sounds hard!

Jokes (?) aside, the scientific method is a loop, so it probably doesn't matter long at which phase you enter.