![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re(3): Plural variable naming (or not?)by FoxtrotUniform (Prior) |
on Mar 21, 2002 at 20:34 UTC ( #153412=note: print w/replies, xml ) | Need Help?? |
Interesting... I'd have thought that @plural would be more intuitive than @singular_list. Obviously, your mileage varies. The one place I can see where this would be a distinct advantage is when you're using Perl arrays as different data types. For instance:
If these were just plurals, it would be impossible to tell just from the names which one was a stack, or a queue, or whatever -- which could be a very bad thing.
--
In Section
Meditations
|
|