YAPC::NA 2006 — Mark Jason Dominus
Perl Program Repair Shop

- License
- Creative Commons Attribution + Share Alike 2.5
- When
- 2006-06-26 11:32 AM CST
- Duration
- 40 Minutes, 21 Seconds
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. I will show you how to do this.
I'll take as a case study a program contributed by a programmer I don't know. We'll look at this example in detail and see how to improve it. The class 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."
Media
- View now in Flash
- iPod-compatible H.264, 640x480, 119 MB
- PSP-compatible MPEG4, 368x208, 160 MB
- Audio+slides MPEG4, 640x480, 160 MB
Copyright 2006-2007 Clotho Advanced Media Inc.
(except
the presentation content which is copyright the respective
speakers)