How to improve testing your own code

Posted by Peter on Programmers See other posts from Programmers or by Peter
Published on 2011-02-16T11:49:44Z Indexed on 2012/03/23 11:39 UTC
Read the original article Hit count: 309

Filed under:

Today I checked in a change on some code which turned out to be not working at all due to something rather stupid yet very crucial. I feel really bad about it and I hope I finally learn something from it. The stupid thing is, I've done these things before and I always tell myself, next time I won't be so stupid... Then it happens again and I feel even worse about it.

I know you should keep your chin up and learn from your mistakes but here's the thing: I try to improve myself, I just don't see how I can prevent these things from happening.

So, now I'm asking you guys: Do you have certain groundrules when testing your code?

© Programmers or respective owner

Related posts about self-improvement