Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: About the use of the plural form for the name of variables

by talexb (Canon)
on Nov 08, 2012 at 17:58 UTC ( #1002953=note: print w/ replies, xml ) Need Help??


in reply to About the use of the plural form for the name of variables

Good question -- to me it shows that you're taking some time to think about how the code will read, and that's excellent! Future developers will thank you.

My suggestion: write it so that when you read it back (in your head), it makes the most sense (keeping in mind that this language was written by a linguist). For me, that means you'd use @friends for your list.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds


Comment on Re: About the use of the plural form for the name of variables
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2014-10-25 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls