develooper Front page | perl.perl5.porters | Postings from August 2017

Revisiting smart match

Thread Next
From:
Sawyer X
Date:
August 1, 2017 14:47
Subject:
Revisiting smart match
Message ID:
6060884e-562b-cec0-40e8-1c4cbd14cb32@gmail.com
We haven't resolved smart match yet and I think it just might be time,
long enough before 5.28, to revisit this topic and reach a decision.

I reviewed the last thread on this and here is my succinct summary. It
is based on Tony's branch:

* RHS overloading should stay
* LHS overloading breaks a faulty autodie API
* That faulty API currently issues an experimental warning anyway, so
any usage of it is experimental as well
* A proper API for autodie is possible and will still remain
* autodie would need to change its documentation to not recommend this usage
* Deprecation is possible

Bring the paint and let's meet at the shed. :)

Sawyer.

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