http://www.perlmonks.org?node_id=705469


in reply to Re^2: Avoiding silly programming mistakes
in thread Avoiding silly programming mistakes

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^3: Avoiding silly programming mistakes

Replies are listed 'Best First'.
Re^4: Avoiding silly programming mistakes
by olus (Curate) on Aug 20, 2008 at 10:49 UTC

    Read the documentation carefully, pay attention, sleep well, take pauses and don't drink. Those may help in preventing making mistakes, but does not guarantee they won't happen. I'm a bit far from 22 years of experience in programming and still make silly mistakes. Good practices like the ones pointed by GrandFather will help spotting errors faster.

    In your comments I don't see you helping missingthepoint either not making mistakes nor figuring them out.

      Sleep well

      Absolutely (and to help acheive this, don't have children till you're in management).

      don't drink

      Unless you'd like to return to your work to be dumbstruck by the arcane working of your mind when augmented with alcohol. Perhaps it could be used to help obfuscation?

      http://www.trinity.edu/jdunn/spiderdrugs.htm

        It's proven incredibly hard to hit and maintain the Balmer Peak.


        TGI says moo

Re^4: Avoiding silly programming mistakes
by GrandFather (Saint) on Aug 20, 2008 at 10:31 UTC

    The OP was concerned about problems that can be slow to find and quick to fix. My point is that an early heads up about typos and other similar errors can save a lot of time.


    Perl reduces RSI - it saves typing