Reuse Old Code

This tip submitted by Timofei Gerasimov on 2004-12-29 00:00:00. It has been viewed 25679 times.
Rating of 5.4 with 206 votes

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.

More tips

Help your fellow programmers! Add a tip!