March 26, 2008

...Learn TDD with Codemanship

Would Developers Take More Care If They Knew THEY Will Be Maintaining The Code?

I have, on occasion, need to rent a holiday home.

Sometimes for a week. Sometimes for a weekend. Sometimes for two weeks - though nowhere near as often as I'd like.

I'm the same with hotel rooms. Sometimes I'm there for a night. Sometimes I'm staying for a week or more when I'm on extended business.

And I don't know about you, but I tend to find that the longer I know I'm going to be there, the more care I tend to take to keep the place tidy, because I know I'll have to live in my mess if I don't.

"Not me, you fool. The floor! The floor!"

When I know it's the maid, and not me, who'll be cleaning up my mess, I tend to bother less with the vacuum cleaner and the duster and wotnot.

For similar reasons, I think it would help if developers worked on the same software for several significant release cycles. Because if you knew the poor sap who was going to have to maintain your code was you, you might make a little extra effort to keep it clean and tidy while you're writing it.

Posted 13 years, 2 months ago on March 26, 2008