Am 19.12.2009 um 20:47 schrieb Darrin Chandler:

When you can write your code to remain testable. If you've changed code,
then you're only testing test code instead of production code. If you
change it back for production, did you change it back correctly? Better
to call the same code from both production and testing.

Yes, I have used your approach. I only use that approach when I must.

I'm more talking about debugging here. It's awfully annoying to change indentation for that. And yes, I don't commit my debug code by accident, as I always read the diff first ;).

--
Jonathan

Reply via email to