Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Some thoughts around the "is Perl code maintainable" discussion

by dogz007 (Scribe)
on Aug 10, 2007 at 19:01 UTC ( [id://631867]=note: print w/replies, xml ) Need Help??


in reply to Some thoughts around the "is Perl code maintainable" discussion

I believe that the problems of unmaintainable Perl code have less to do with individual programmers who collaborate on projects than the lack of company-wide standards of the organizations that employ them.

For example, I'm an engineer, and when we make drawings at my company, we follow a template. Object lines are white, hidden lines are green and dashed, center lines are red and dashed differently, and dimension lines are a girly pinkish color that print with slim, slender lines on paper. Of course anyone can make drawings in any color they choose (TIMTOWTDI), but if I went to work on Monday and screwed with the colors in my drawing, all the other engineers that work on that drawing will get awfully confused, and I'll hear about it all day. So you see, it has less to do with our drafting software than with company standards.

This is directly analogous to the Perl maintainability issue. Had Sally and Bob been trained to at least agree on a set standard for creating objects, then the communication issues (which maintainability really boils down to) would have been minimized. In fact, I believe that Perl's boast of TIMTOWTDI opens up the field for Sally and Bob to seek methods of coding optimized for their specific projects and to choose the best option to use as a standard. Indeed, this even smells of Continuous Improvement, which I'm sure my Industrial friends are sure to enjoy.

I do not believe that these standards should be set by the creators of the programming language. The rules of the language should be open enough for any programmer to choose their own favorite method of coding. That's why I chose Perl in the first place. When I learned that I didn't have to declare variables if I didn't want to, it was like love at first sight. But don't think for one instant that I let my variables run amuck without clearly defined scope, like digital free radicals in a pristine body of code. It's the freedom to choose that was, and still is, most important.

  • Comment on Re: Some thoughts around the "is Perl code maintainable" discussion

Replies are listed 'Best First'.
Re^2: Some thoughts around the "is Perl code maintainable" discussion
by BrowserUk (Patriarch) on Aug 13, 2007 at 12:18 UTC
    ... then the communication issues (which maintainability really boils down to) would have been minimized.

    All of my attempts to contribute to the meat of this thread are as nought as compared to the contribution of that single phrase, indeed just the parenthesised part of that phrase, though the context is helpful.

    I learned a while ago, somewhat less than 5 years, and entirely as a consequence of coming to this place, that it is always a good idea to review each communication to which one has contributed, at least several hours after one contibutes. And often again, a few days after that. I have often been surprised by the affect the later contributors had upon my opinions, but never more so that right now.

    As a complete aside, you deserve a whatever 'the poetic prose equivalent of a booker prize' is, for "... like digital free radicals in a pristine body of code.". And the fuddy dudies think that poetry reached its zenith with the Bard.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "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://631867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found