Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I genuinely wanted a good critique (It's nice to get dissenting viewpoints) but reading text so charged with anger and so scant in information is stressing me out.


agreed - there are certainly some disadvantages to TDD, and I was hoping for an discussion raising some ideas I'm yet to formulate fully.

Instead there were lots of parallels that I don't recognise.

It was disappointing the author didn't seem to try and find the advantages in TDD and discuss a counter argument or alternative, such as modifying a foreign code base.


OK, I'll give it a shot. This isn't a criticism of TDD per se, but of over-reliance on code coverage tools.

Because it's easy to measure whether you're exercising every code path, software engineers think in terms of how close they are to "100% coverage" of tests. What you really should be thinking about is whether you're exercising every possible input, not every possible code path.

https://twitter.com/brlewis/status/553191394639360000




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: