Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Spaghetti Code (Score:2, Interesting)

    by chromatic (983) on 2003.07.30 12:42 (#22591) Homepage Journal

    One of my greatest professional pleasures is deleting code while retaining necessary behavior. Sometimes I worry someone will sit me down against a generative algorithm and ask me to refactor two similar, nasty subroutines and I'll be there the rest of my life....

    • I got great satisfaction taking 30 line blocks and condensing them to 5-10 lines. I didn't get to delete anything yet with replacing it.. the code is one of these "Um, where did this variable come from?? DO I NEED IT??" works of art.

      I'll likely turn on warnings and stricture and work through the errors which will appear. Joy.