Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 romping around the Monastery: (5)
As of 2015-07-05 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls