News for hackers. Stuff that matters.
Re:I have complicated feelings about TDD by ParetoOptimal on Friday August 19, 2022 @12:30AM (#32517554)
> The problem I’ve run into is that when you’re iterating fast, writing code takes double the time when you also have to write the tests.

That was the time it took to actually write working code for that feature.

The version of "working code" that took 50% as long was just a con to fool people into thinking you'd finished until they move onto other things and a "perfectly acceptable" regression is discovered.

Re:I have complicated feelings about TDD by discreteevent on Friday August 19, 2022 @06:44AM (#32519410)
The reason someone is iterating fast is usually because they are trying to discover the best solution to a problem by building things. Once they have found this then they can write "working code". But they don't want to have to write tests for all the approaches that didn't work and will be thrown away after the prototyping phase.