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

Re: Avoiding silly programming mistakes

by GrandFather (Sage)
on Aug 20, 2008 at 05:40 UTC ( #705415=note: print w/replies, xml ) Need Help??

in reply to Avoiding silly programming mistakes

Um, always use strictures (use strict; use warnings; - see The strictures, according to Seuss). :-D

Try whittling problem code down to a small sample suitable for posting to PerlMonks - you almost never have to post the actual code though.

Use a good syntax checking editor. Heed all warnings. Write test suites and run coverage tests.

Avoid writing code (use other peoples modules - CPAN).

Think about edge cases and test for them.

Perl reduces RSI - it saves typing
  • Comment on Re: Avoiding silly programming mistakes

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2020-11-24 10:47 GMT
Find Nodes?
    Voting Booth?

    No recent polls found