Monday, May 16, 2011

Reuse Old Code

I have found this very useful myself. If you are solving a problem - parsing a particular type of file, say - that you have solved before, it is a very good idea to use your old code again, or at the very least look over it. You may be reluctant to go back to your old code and prefer to "start clean", but your old code probably contains solutions to numerous bugs that you'd otherwise have to solve again.