in reply to Programming Mantras

"Am I going to remember why I did this?"

Moreoften than not, it's several weeks - if not months - before I revisit my code. A little one line comment goes a long way toward reducing my debug time... Self-documenting code is great, but it doesn't always explain why I used ++$counter rather than $counter++.

If things get any worse, I'll have to ask you to stop helping me.

Replies are listed 'Best First'.
Re(2) (shockme): Programming Mantras
by dmmiller2k (Chaplain) on Jan 22, 2002 at 08:48 UTC
    "Am I going to remember why I did this?"

    Wow! That hit's the nail right on the head for me! Or a related corollary:

    "Will anyone be able to figure out why I did this?"

    dmm