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.
  • In the extreme, this is called a developmestuction environment [thedailywtf.com].

    It is the most horrible habit ever – the most horrible possible habit.

    Dare to delete, people! Does the code need to be there? Really? If it’s not absolutely necessary, why keep it? If you end up needing it, you can always go back through the revision history. (You’re not a dilettante and do have source control, right? Right?) At worst, leave a comment and mention the source control revision in which the deleted code can be found. There, now you can get rid of the code.

    Deleting code is the greatest pleasure in the life of a programmer. If you don’t understand that in your guts, well I’m sorry, but you’re not a programmer. (You may yet become one, mind; but you aren’t one now.)

    • I once boasted that I had deleted more code at $JOB than I had written. I'm afraid that isn't quite true -- then or now -- but I like to think that I keep the ratio pretty close to 1.

      I love the feeling of deleting awful old code. It's like, I don't know, throwing away my meds for some horrible disease I've overcome.
      --
      rjbs