Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl for big projects

by samtregar (Abbot)
on Jul 10, 2006 at 21:12 UTC ( [id://560239]=note: print w/replies, xml ) Need Help??


in reply to Perl for big projects

I'm sure we've all heard the old "write-only language" attack on Perl, but I thought his rational was mildly interesting:

the language is so fantastically huge, no two programmers even appear to be writing in the same language

He's absolutely right that divergence in programming dialect between programmers is one of the biggest problems in maintaining large bodies of code. However, I don't agree that the size of the language has anything to do with the problem. C code written by two different people can be just as radically different as Perl code, and C is small language.

The only way to guarantee that Perl code on a large project is "read-write" and not "write-only" is the same as with any other language - coding standards and code reviews to make sure they're being applied. Nothing else will ensure that a group of programmers is coding in the same dialect.

-sam

Replies are listed 'Best First'.
Re^2: Perl for big projects
by emazep (Priest) on Jul 12, 2006 at 00:33 UTC
    The only way to guarantee that Perl code on a large project is "read-write" and not "write-only" is the same as with any other language - coding standards and code reviews to make sure they're being applied.
    Utterly right.
    And we can also add that Perl today even offers the tools to automate the enforcement of such discipline, such as Perl::Critic.

    Ciao,
    Emanuele.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found