Legacy Code In Practice

I love this blog post by Eric S. Raymond on dealing with NTPsec.  Raymond walks through his experience thus far with the NTPsec project, and especially with respect to eliminating outdated and buggy code.  This type of project hits home, enough that I decided to put together a blog series and turn it into a talk.  Although he’s talking gnarly C code and I’m talking gnarly SQL code, many of the practical techniques for trimming a nasty code base are the same across languages:  set up tests, remove obsolete code, simplify code, simplify design, and make use of appropriate language constructs to write safe, secure, and easy to read code.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s