Cleaner code = more maintainable code

I’m a notorious code deleter. If I see something that doesn’t seem to be used, I won’t hesitate a second to delete it because I know that code is easily retrieved from SVN. The name of the game is maintainability. I don’t care for code that might be useful. If it’s not useful now, it’s in the way of me understanding what you’re tying to tell the computer.

Speaking of which, here’s a quick tip for the young ones. Never comment a block of code and check it into your SCM. This is a sign of weakness and uncertainty. If you’re checking something into a production branch, you better be sure it works!

This code committed to SVN tells me that the committer wasn’t sure what he was doing.

Fail

Fail