Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re2: To sub or not to sub, that is the question?

by pmas (Hermit)
on Jul 24, 2001 at 19:09 UTC ( #99358=note: print w/replies, xml ) Need Help??

in reply to Re: To sub or not to sub, that is the question?
in thread To sub or not to sub, that is the question?

Importance of coding standards depends also on the size of the project. For 5 lines - even use strict; is overkill. But the bigger the project, the more programmers involved - the stricter standards you should have.

I worked recently on a project with 40MB of source code (not in perl) - as a result of 10 years of development. Without rather strong coding standards (using custom toolkit) and agreed-on procedure names performing standard - trying to understand system will be much harder. 40MB! After 2 years, I was expert in one small part, conversant in couple others, and know who is expert for what part.

In projects like that, game is not about ... possibly taken longer to understand, but has been rewarding and enhanced my understanding... . It's about plain survival... :)

So if you insist on using perl without coding standards in such a project, I'll propose to use other language - or I'll prefer to work on different project.

To make errors is human. But to make million errors per second, you need a computer.

Replies are listed 'Best First'.
Re: Re2: To sub or not to sub, that is the question?
by frankus (Priest) on Jul 24, 2001 at 19:23 UTC

    Firstly I only apply this philosophy to Perl, my bad for not stating that explicitly.

    IMNTHO anything that has taken 10 years to develop is ripe for rewriting or part of NASA's space project. I think it's daft, having a document dictating how to code, it implies the authors know something (quite often wrong); I prefer a more natural method of buddying developers, that way the learning process is two-way

    I've only seen Coding standards work when they were constantly reviewed and altered by the people using them. IME this rarely happens as it involves doing something, it's easier to think write "the coding standard document" and leave it to stifle your developers.


    Brother Frankus.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-01-21 22:49 GMT
Find Nodes?
    Voting Booth?