>>>>> "RD" == Rob Dixon <rob.di...@gmx.com> writes:
RD> On 14/09/2011 21:30, Uri Guttman wrote: >> >>> Uri we are all privileged with your thoughts on variable naming. My last >>> attempt to say that perhaps you weren't always right wrong resulted in a >>> personal attack saying "you had that blowup a few months ago. are you >>> doing that again?" Given that you choose not even to punctuate American >>> English properly I find your position less than convincing. >> >> again, you attack personally and not about the topic. RD> "you had that blowup..." was less than topical :/ it was topical as your (self admitted) blowup happened here. and it caused a small ruckus until you calmed down. RD> (Or are you talking about your poor English, which is no more personal RD> than your poor Perl naming requirements?) my good engrish is fine very well! >>> Also, as I posted before, if you forbid even the very minimum of $i, $n, >>> $x, $y, $z, $h, $m, $s then your advice is destructive bigotry. >> >> i said $i and $j are generally fine. in some cases maybe $x and $y. but >> those are not nearly as many vars as all the others. the vast majority >> of vars should not be named with single letter names. it is a rule with >> some exceptions. i prefer to emphasize the rule here in order for >> newbies to learn that picking good names is important. and single letter >> var names are in general a poor choice. RD> If your intention is to insist on meaningful identifiers then I am with RD> you wholeheartedly, but rejecting single-character names is a crude RD> filter than has a lot of obvious exceptions. As yet another example, RD> quadratic equations are far from rare in practice, so would you really RD> have me rewrite the following? it isn't a crude filter. it is a solid rule of thumb. a useful guideline. where did i say once that all single letter vars are out? i said there are exceptions but few and very localized. my bigger point which you are ignoring is that by far the larger number of vars need proper names so using single letter names is an exception. the point is to notice that single letter names are not useful in general. in specific cases they could be. you haven't addressed the scope of the number of names out there. a classic generic rule for this is don't do this unless you know when not to. uri -- Uri Guttman -- uri AT perlhunter DOT com --- http://www.perlhunter.com -- ------------ Perl Developer Recruiting and Placement Services ------------- ----- Perl Code Review, Architecture, Development, Training, Support ------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/