Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Re: coding rules

by Forsaken (Friar)
on Jun 09, 2005 at 05:12 UTC ( [id://464963]=note: print w/replies, xml ) Need Help??

in reply to coding rules

Doesn't rule #3 make rule #5 redundant? If package variables can already be identified by their being in all caps, pretty much anything else you run across is therefore by definition local to that subroutine, isn't it? Besides, I can't help but feel that after a while all the this_ and local_ are going to drive you absolutely nuts. Variables being local to subroutines should be the rule, not the exception, so in my opinion perhaps it would be better if the variables that aren't local get their own little prefix :-)

Remember rule one...

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-06-12 21:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.