News for hackers. Stuff that matters.
Re:The maintainability of unit tests by j_baker on Thursday February 25, 2010 @11:15AM (#1150902)
"Am I just lucky, or are they doing something wrong?"

No, you've just found the workflow that works best for you. The problem is that it doesn't work best for everyone else.

Re:The maintainability of unit tests by plinkplonk on Thursday February 25, 2010 @11:35AM (#1150939)
"Am I just lucky, or are they doing something wrong?"

No, you've just found the workflow that works best for you. The problem is that it doesn't work best for everyone else."

This. I read Jay's post as elucidating what worked for him (and no more). I didn't get a "preach the One True Way to the great unwashed" vibe from his post. Just as you have practices that work for you, he has practices that work for him. They are different from yours.

So? Why should it "boggle" your mind? It is not as if building software is a hard science. Different things work for different people and projects.

Re:The maintainability of unit tests by jerf on Thursday February 25, 2010 @12:02PM (#1150989)
"I read Jay's post as elucidating what worked for him (and no more)."

I read it as his reporting a consensus between some significant number of people.

"At speakerconf 2010 discussion repeatedly arose around the idea that unit tests hinder your ability to refactor and add new features.... Should I write Unit Tests? The answer at speakerconf was: Probably, but I'm interested in hearing other options."

It is the consensus that surprises me. No one person's opinion surprises me; you can find someone to believe anything.

Re:The maintainability of unit tests by plinkplonk on Thursday February 25, 2010 @12:08PM (#1151002)
"The answer at speakerconf was: Probably,"

How is "probably" a "consensus" ? It is more likely that there were people arguing "yes", some people "no" and others saying saying "it depends".

I would be very surprised if the folks at SpeakerConf (I've worked with many of them including Jay) arrived at a consensus that unit tests hinder refactoring and/or the ability to add new tests. But, yes, they are some very independent thinkers in that group and I would be very surprised if some of them don't think thoughts at variance with agile orthodoxy.

Jay says nothing about any consensus anywhere. Are you sure you aren't reading more than what he said into the post?

Re:The maintainability of unit tests by jerf on Thursday February 25, 2010 @12:45PM (#1151083)
'How is "probably" a "consensus" ? It is more likely that there were people arguing "yes", some people "no" and others saying saying "it depends".'

Well, "probably" would tend to imply the ones in favor of the thing labeled "probably" were winning. Or at least louder. If it was totally even, the word would be "maybe" or "nobody could agree". But:

"Jay says nothing about any consensus anywhere. Are you sure you aren't reading more than what he said into the post?"

In a word: No. But double and triple checking I still don't find it an impossible reading of the text, so I don't feel bad, and still won't even if it is clarified later that I am wrong. In the meantime a good discussion has broken out, so shrug.

Re:The maintainability of unit tests by plinkplonk on Thursday February 25, 2010 @01:02PM (#1151137)
"I still don't find it an impossible reading of the text, so I don't feel bad, and still won't even if it is clarified later that I am wrong."

Well I wasn't trying to make you feel bad, fwiw. Just wondering what in Jay's post caused you to say

"This discussion boggles my mind,".

I didn't see anything "boggle worthy" hence the question.

peace.

Re:The maintainability of unit tests by jerf on Thursday February 25, 2010 @03:14PM (#1151474)
Oh, I'm not saying you're trying to make me feel bad; I would feel bad if I grossly misread something. I hate it when people do it to me, so I try not to do it to others.

What would make be boggle is that a consensus would develop that unit testing was more trouble than it's worth most of the time; if no such consensus exists then I wouldn't be boggling.