O'Reilly logo

Perl Medic: Transforming Legacy Code by Peter Scott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Increasing Maintainability (Prophylaxis)

Tara King, on seeing Steed playing with a toy airplane: “Aren’t you a little old for that sort of thing?” Steed: “It’s a present for my nephew’s tenth birthday.” Tara: “When’s that?” Steed: “Three years ago. The instructions are very hard to follow.”

— Patrick Macnee and Linda Thorson in The Avengers

Image

Having taken charge of a program and made it your own, the last thing you want is for it to turn into the same kind of albatross that you got saddled with in the first place. So it falls to you to make it as maintainable as you can.

10.1. Making It Robust

The more robust a program is, the less ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required