Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Seven habits of highly careful coders

by gryphon (Abbot)
on Sep 13, 2003 at 22:58 UTC ( #291306=note: print w/replies, xml ) Need Help??


in reply to Seven habits of highly careful coders

Greetings mandog,

At my job, I've instituted a lot of standard coding practices for our department. Here are a few that I think are habits of careful coders:

  1. use strict;
  2. use warnings;
  3. Use CPAN for as much of the work as possible
  4. Use tainting when dealing with CGIs
  5. POD or otherwise document everything (if not in POD, have a good reason why)
  6. $CGI::DISABLE_UPLOADS = 1;
  7. $CGI::POST_MAX = 4092; (or some other appropriate number)

gryphon
code('Perl') || die;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://291306]
help
Chatterbox?
[LanX]: communication overhead calls for sensible management
[ambrus]: "different specialized employees in different rooms" => so, there's a cleaner guy who cleans up the vomit from the bathroom every morning?
[erix]: makes me think of MMM too (mythical man month): "adding more people to a project makes it slower"
[erix]: that should be "to an already-too-late- project" I think
[ambrus]: oh yes, we have a pretty good example of that when they reorganized the grill place in the restaurant nearby.
[ambrus]: it now has two more people working there, and they're serving slower and more expensive.
[ambrus]: It used to be just a master cook who takes the order and puts the meat and eggs on the open grill plate table, and an assistant who removes them to a plate, adds the side dish, and gives the plate to the people in the queue, plus a cashier.
[ambrus]: Now it has five people instead of three, some sort of call number ticket system where people wait a lot for their food to get ready (it's the same kinds of grilled meat and fish on the same equipment, it won't actually fry slower),
[ambrus]: it's slow as hell, and the food costs significantly more.
[ambrus]: We no longer eat there.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2017-09-22 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?