Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
If those seven points work for you, great, but I don't think you can generalize them. I think I'm a fairly efficient coder as well, but I don't program in a team (I do work in a team, but while I program, I'm not a programmer), and a fair amount of the code I write (both for work, and privately written code) is designed to do one specific task. Let's see how your points work out for me.

Peer review

I don't have (Perl) peers to review with. I do peer review, but on a much higher level that reviewing code. I might review algorithms or strategies, but not code. My favourite reviewer absolutely hates Perl.

Code reuse

Most of the code I write are simple programs, doing a specific task. More often that not, there isn't much to factor out to modules. I sometimes, even write programs that don't have subroutines. If there's something that lends itself to be factored out to a module, I do so, but I'm not going the extra mile. I prefer delaying. If later I want to reuse something that I've done before, I can always make a module then.

Good design

Good design make *me* happy, but I also realize that my good design might not be someone elses. As for making the project owners happy, they usually want the result of the program, or the fact that there is a program doing "X"; as long as the result is there, good design is a bonus (or not relevant).

Continual Learning

No contest here.

Testing

It depends. For many of my programs, testing is like testing a baked cake: the proof is in the eating. It's the end result that counts.

Teaching

Again this assumption efficient coders work in a team.

Documentation

Documentation is good, but often inline comments are good enough. Hey, if I write a program that creates a boot floppy - once I have the boot floppy with all its necessary files, the program is likely to never be used again. So, the POD isn't necessary.

Abigail


In reply to Re: Seven habits of highly efficient perl coders by Abigail-II
in thread Seven habits of highly efficient perl coders by Ryszard

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found