Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Tips for managing Perl projects?

by dragonchild (Archbishop)
on Dec 15, 2004 at 19:17 UTC ( [id://415161]=note: print w/replies, xml ) Need Help??


in reply to Tips for managing Perl projects?

Note: This list assumes peer-reviewed design, if not peer-reviewed code.
  1. Before writing new code, demonstrate that what is needed cannot be found on CPAN.
  2. Before writing new code, demonstrate that what is needed cannot be found in-house.
  3. Attempt to write large modules and small scripts that use aforementioned large modules.
  4. If you want to disable strict and/or warnings, you better have a damn good reason.
  5. It's better for the code to run 10% slower than for the coder to take twice as long. Code reuse is good for a reason.
  6. Standardize to a common set of idioms / modules / processes for the following items:
    • Configuration files
    • Database connectivity
    • Logging
    • Exception handling
    • Documentation (not everyone should use POD, believe it or not)
    • Source code rollouts (how should you install something?)
  7. Taking an extra hour before touching a keyboard will save you a hundred hours in the next 6 months. To truly be Lazy takes a lot of preparation.

And, my favorite recommendation is Keep It Stupid-Simple ... so simple even stupid people can understand. Cause, frankly, the guy after you will most likely be stupider than you are.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Replies are listed 'Best First'.
Re^2: Tips for managing Perl projects?
by McMahon (Chaplain) on Dec 15, 2004 at 22:33 UTC
    As a "QA" tester (I hate that name, but it points towards what I actually do), I'll emphasize:

    Logging
    Exception Handling (especially for I/O)

    If you have to, you can do the rest after the fact, but if you lack either of these, fixing things becomes radically more difficult.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found