develooper Front page | perl.perl5.porters | Postings from February 2020

Re: chained comparisons

Thread Previous | Thread Next
Zefram via perl5-porters
February 7, 2020 12:00
Re: chained comparisons
Message ID:
demerphq wrote:
>Ok, personally I like your version a fair bit, although I worry its still a
>bit not dumb enough.  We want these things understandable by someone who
>might find "associativity" a bit intimidating (even if technically correct).

You're overstating this issue.  perlop is reference documentation,
not tutorial.

Nevertheless, I'm open to adding some explicit warning about mixing
chainable operators of differing precedence.  I've added such a commit
to zefram/cmpchain at <git://>.

>Can you have a look at 3bf60ee27671f4082214a0e036a56dfcf3bd2305

I'm not interested in copying any of the other ideas, or any of the text,
from there.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About