Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Coding superstitions

by jonjacobmoon (Pilgrim)
on Jan 08, 2002 at 05:29 UTC ( #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.


Comment on Re: Coding superstitions

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (16)
As of 2014-07-31 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (252 votes), past polls