Discussion about this post

User's avatar
Anthony Mowers's avatar

Another common theme to these sorts of discussions appears to be, what is the difference between writing the tests first and afterwards?

Working with a code base that has had the tests written afterwards can feel a bit like working with something you’re supposed to be able to take apart, but you can’t because whoever built it used glue to put it together.

Expand full comment
Eric Rizzo's avatar

I feel just a little less intelligent for having read the referenced blog post - it's neither coherent nor, as you pointed out, logically sound. I'm not even a practitioner of TDD, but I do consider myself a practitioner of logic and reason and the blog post triggers that part of me.

Having said that, I suggest one answer to your "Why the hate?" Perhaps because the hate-spewers have had TDD forced down their throats by some zealot (aka, Big-A Architect, Director of Something-Or-Other, etc), and this is a natural reaction. I can certainly picture _myself_ pushing back and desperately grasping for supposedly rational responses to something that I have been forced to do by someone who may or may not actually have a clue about doing my job. I can even imagine myself writing or head-nodding to a logically flawed response such as the blog post, given that situation.

Expand full comment
31 more comments...

No posts