Syntactic Confectionery Delight | |
PerlMonks |
Re: (jeffa) Re: Of variable {mice} and its name {man}.by vladb (Vicar) |
on Jun 01, 2002 at 14:51 UTC ( [id://170916]=note: print w/replies, xml ) | Need Help?? |
jeffa, thanks for your reply ;-).
I'm not strongly positive on whether to use plurals or singulars for arrays or hashes. I had to struggle with that one a couple times and never seem to be able to find a common ground. In the back of my mind, I too feel that avoiding using plurals in similar instances is the sane thing to do. "When confronted with mental block on finding a good name..." Of course, variable naming shouldn't be taken to extreme (as also pointed out by Zaxo from the CB conversation ;-). More often then not, I find myself in a similar position where I am not able to come up with a suitable name in a couple minutes. Often, I simply take the best knowledgable guess and proceed. Optionally, leaving a comment just the way you do. _____________________
In Section
Meditations
|
|