Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Avoiding silly programming mistakes

by JavaFan (Canon)
on Aug 20, 2008 at 10:23 UTC ( #705469=note: print w/ replies, xml ) Need Help??


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

Your point being?

Sure, when I make them, they are quick to fix. But I still make them. Over and over again.

strict and warnings detect (some) errors. But they don't prevent from making them.


Comment on Re^3: Avoiding silly programming mistakes
Re^4: Avoiding silly programming mistakes
by GrandFather (Cardinal) 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
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://705469]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-08-28 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (255 votes), past polls