If your varnames were shorter more obvious, it'd look different Re: Perl Best Practices for naming variables, About the use of the plural form for the name of variables, Re^3: What would be the easier way, Re^8: What would be the easier way, Re: Cool way to parse Space Separated Value and CSV files, Re: Perl Best Practices for naming variables, Re: What are the most basic, generic aspects of programming?, Pronounceable syntax or beloved punctuation?, How do you pronounce variable names?, How do I pronounce all this stuff, How do you pronounce "::"?,
$main $region $metric $hash %res @ymDates
$$main{$hash}{$reg}{MetricType}{$$res{Location}}{$ymDates[$start]} = $ +$main{$hash}{$reg}{MetricType}{$$res{Location}}{$ymDates[$start]} + $ +$res{Value}; $$main{$hash}{$reg}{MetricType}{$$res{Location}}{$ymDates[$start]} += +$$res{Value};
Of course, its harder to come up with varnames without good context :) But mainhash and hashtype stand out as having too many generics not easily substituted :)
In reply to Re: $var{el} += 1 vs $var{el} = $var{el} + 1 (varnames)
by Anonymous Monk
in thread $var{el} += 1 vs $var{el} = $var{el} + 1
by banesong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |