Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Helpers Vs. Hurters

by pboin (Deacon)
on Nov 17, 2005 at 12:00 UTC ( #509371=note: print w/replies, xml ) Need Help??


in reply to Helpers Vs. Hurters

Well, you really have answered your own question. You must find the sweet-spot.

Let's start with one end of the continuum: no 'helper' routines. We all should agreee that that's just not a good idea. To a certain extent all functions fit this definition. Sometimes they're tiny, and sometimes they're complex, but any time you call another piece of code, you're reusing it, and the programmer calling it might not understand how it works. Sometimes that's OK. I use stuff from CPAN that I don't understand, but to a certain extent, that's the point. I don't have to understand, I don't need to understand, I don't even *want* to understand.

At the other end we have the old cargo cult phenomenon. It's real easy to be bad-lazy and reuse code in the wrong way, or in a very inefficient way. I think this is where experience is important. A senior programmer can look over a juniors work and make sure that they're not drifting too far into the weeds and at the same time, they understand the pertinent parts of the project.

I work alone, and this lack of peer review (formal and informal both) is without a doubt the single largest drag on my effectiveness and productivity. So, good luck, and make sure to have seniors and juniors working together.

Replies are listed 'Best First'.
Re^2: Helpers Vs. Hurters
by BrowserUk (Pope) on Nov 17, 2005 at 12:09 UTC
    I work alone, and this lack of peer review ... is without a doubt the single largest drag on my effectiveness and productivity.

    Ain't that the truth. ++


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-07-30 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?