Perl Program Repair Shop and Red Flags

Mark-Jason Dominus, Chief Programmer, Plover Systems Co.

Track: Perl
Date: Thursday, July 27
Time: 2:35pm - 3:20pm
Location: Portland 251

Most programs are overwritten. You can remove one-third to one-half of the code from the typical program while improving it in every other way. Afterwards, it will be more readable, more efficient, more maintainable, and more modular. Dominus will show you how to do this.

He will take as a case study a program contributed by a programmer he doesn't know and examine it in detail to see how to improve it. The session focuses on "red flags," which are obvious warning signs in the code that are plainly visible if you are looking for them. The techniques for improving code are easy, and require little thought or ingenuity. The motto of this class is "no clever tricks."

Participants are encouraged to submit their own code for anonymous review in the class. Send it to