develooper Front page | perl.perl5.porters | Postings from June 2022

Re: disabling smartmatch and when()?

Thread Previous | Thread Next
From:
Tom Molesworth via perl5-porters
Date:
June 20, 2022 17:18
Subject:
Re: disabling smartmatch and when()?
Message ID:
CAGXhHd=Ng3+JY=9GEz=+qRGLiW+QYin0dY9WBy_MQ2_SAAYdvQ@mail.gmail.com
On Tue, 21 Jun 2022 at 00:58, Dave Mitchell <davem@iabyn.com> wrote:

> On Mon, Jun 20, 2022 at 05:54:52PM +0200, Tomasz Konojacki wrote:
> > I can't count the times I had to explain to people outside of the p5p
> > bubble that "experimental" in the case of smartmatch actually means
> > "deprecated" and they shouldn't use it.
>
> Perhaps these people have no business being coders?
>

Perhaps this is not the best advert for Perl.

Other languages such as Python and Rust have added features such as pattern
matching - in Perl, we're taking away even the current limited attempt at
switch/case, and we don't have a replacement...

... oh, and now we're telling our users that they "have no business being
coders", just because they had the temerity to follow previous advice such
as
https://perldoc.perl.org/5.28.0/perlfaq7#How-do-I-create-a-switch-or-case-statement
?

Perhaps you should reconsider.

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