Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found