develooper Front page | perl.perl5.porters | Postings from September 2016

Re: pounding the smartmatch drum

Thread Previous | Thread Next
September 8, 2016 03:11
Re: pounding the smartmatch drum
Message ID:
Father Chrysostomos wrote:
>       Maybe that is our way out: to make a distinction between 'when'
>and '~~' overloading.

No, that would be dreadful.  The same issues about ~~ lhs overloading
would apply to when overloading.  The language would also be less
comprehensible by virtue of having these two slightly different matching
facilities.  Given our problem of an overcomplex language feature,
splitting it so that we have two overcomplex language features isn't a
step forward.


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