Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Coding superstitions

by jonjacobmoon (Pilgrim)
on Jan 08, 2002 at 05:29 UTC ( [id://137026]=note: print w/replies, xml ) Need Help??


in reply to Coding superstitions

LOL, good subject. Wish I had some votes left today :)

I think someone mentioned my superstition:

return $value # the keyword is not necessary

Also, I use for for hashes and foreach for arrays. I have no idea why just a habit I picked up and can't shake. So:

foreach (@array)

and

for (keys %hash)

Always, always, always. I say I do it because it is explicit, but maybe I am afraid of demons. However, I am not as strong as you George. I will not give this one up. It is too scary, too nerve racking. I am just not as brave as you. May your light shine on us all and clear the way, but for now I need to coward in the corner :)


I admit it, I am Paco.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found