4 ms·
I think his first sentence is a strawman. What I'm tired of from the TDD crowd is that they insist that people are doing it wrong if they don't do to the extrem
by jshen 13y ago
I think his first sentence is a strawman. What I'm tired of from the TDD crowd is that they insist that people are doing it wrong if they don't do to the extreme demand of others.
A great example of this is Bob Martin saying that you are absolutely doing it wrong if you don't write your tests before your code and if you don't restrict your writing of app code to the pure case of making a failing test which you wrote first pass. This is an extremist ideology, and many of us are tired of having this thrown in our face over and over again.
Here is Bob saying this: https://www.youtube.com/watch?v=WpkDN78P884&feature=youtu.be&t=58m https://www.youtube.com/watch?v=WpkDN78P884&feature=youtu.be...
No one said, "testability is a meaningless goal", and it's dishonest to say that. We're saying that the extreme to which the TDD crowd takes this good general guideline is bad, and their insistence that anyone who doesn't do it that way is doing it wrong is growing very tired and someone has to speak up against it.
- jbrains 13y agoI agree. I think you've overstated how many people take that position, but I agree. By the same token, I find it unfortunate when a person turns "TDD doesn't work for me" into "TDD is a bad idea", which DHH has certainly and explicitly said in his articles on the topic. His title "TDD is dead" simply makes one group of people cheer mindlessly and another group roll their eyes. It doesn't help the conversation. That said, I understand meeting extremism with extremism. I don't think it works, but I understand it.
- jshen 12y agoHere's another example that showed up on /r/ruby http://benlakey.com/2014/05/04/testing-is-science/ http://benlakey.com/2014/05/04/testing-is-science/ I don't think I'm overstating it.