|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^3: Iterating over verbatim hash referenceby Herkum (Parson) |
| on Jan 21, 2010 at 19:27 UTC ( #818801=note: print w/ replies, xml ) | Need Help?? |
|
Variables can help you clarify what you code does. Something an obscure data structure does not. For example,
I bet your thinking that this is pretty obvious but I still want to reduce the number of variables. If you think you have too many variables in a section of code, chances are you have not abstracted out it out enough. Move more of your code into other subroutines to enhance clarity.
Note: Thanks to ikegami for pointing out my error.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||