develooper Front page | perl.perl5.porters | Postings from April 2012

Re: proposal: functional C<if>

Thread Previous | Thread Next
From:
Darin McBride
Date:
April 26, 2012 08:28
Subject:
Re: proposal: functional C<if>
Message ID:
2880845.joaCGONQZC@naboo
On Thursday April 26 2012 5:16:32 PM Abigail wrote:
> And then we can finally do what ALGOL could 40+ years ago:
> 
>     if (CONDITION1) {$foo} else {$bar} = if (CONDITION2) {1} else {2};

And then my head explodes.

I mean, it's cool and all, but this is about the same issue I remember from my 
C++ days - people complaining that all that operator overloading meant that 
you really didn't know what was going on; following code flow becomes more 
difficult.  And any time magic is added, we have to be careful.



Of the wrongful death lawsuits from all those maintenance developers tracking 
down and killing the original developers.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About