Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Avoiding silly programming mistakes

by GrandFather (Cardinal)
on Aug 20, 2008 at 10:11 UTC ( #705465=note: print w/ replies, xml ) Need Help??


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

Golly! At least 2/3 of those errors are caught by using strictures or a decent syntax highlighting editor!


Perl reduces RSI - it saves typing


Comment on Re^2: Avoiding silly programming mistakes
Re^3: Avoiding silly programming mistakes
by JavaFan (Canon) on Aug 20, 2008 at 10:23 UTC
    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.

      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

      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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-07-13 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (247 votes), past polls