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

Re: smartmatch/switch deprecation for 5.28

Thread Previous | Thread Next
Leon Timmermans
December 30, 2017 17:49
Re: smartmatch/switch deprecation for 5.28
Message ID:
On Sat, Dec 30, 2017 at 6:20 PM, Elizabeth Mattijsen <> wrote:
>> On 30 Dec 2017, at 18:16, Zefram <> wrote:
>> Leon Timmermans wrote:
>>> Why would our end-users want that?
>> They'd want a deprecation to give them notice to rewrite their code
>> for portability across the smartmatch change.  They'd want the process
>> of changing smartmatch to move forward so that they can get a language
>> feature that's coherent and usable and which p5p is willing to maintain.
> Isn’t the issue really that most people think the language feature is already coherent and usable enough for them to use in their code for over a decade?

Yes, that!

Smartmatch as a whole is clearly insane. The part that people actually
use not so much (except the string/number thing; but that can be dealt
with). Breaking that because of the parts that no one ever uses is
throwing out the baby with the bathwater.

Why would anyone want that?


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