in reply to Re: Update to smartmatch
in thread Update to smartmatch
I also have not ever used "smartmatch" and friends. I have never encountered it in code I've worked on at various employers, and that's neither because they were so clever, nor because they were all using old perls. It's because of the incredible confusion and instability around the "features," and also because no good use case for using them has been presented. What exactly is the problem that it's supposed to solve, that cannot be elegantly (enough) solved with normal loop and conditional constructs?
I will not shed a tear if smartmatch/given/etc. are reimplemented so code that uses them breaks (I expect that CPAN modules that break will be fixed), or if it completely goes away for now (which I think is the most sensible suggestion in the p5p thread that encapsulates the current debate).
However, I am alarmed at the process with which the changes have been already merged into bleadperl, as highlighted by LeonT and brian d foy. If that is the way things are going to get done, I fear that Perl will come to be viewed -- correctly -- as an unstable mess where there are no adults in charge.
In my opinion, that of a journeyman, workday Perl programmer, at the root of all this was the fiction that "Perl6" was a real thing in 2007, and the precipitous rush to implement many of its "features" in Perl v.5.10. Damian Conway and people who, like him, are outlandishly clever but also suffer from an excess of hubris, should be kept far away from the core of Perl!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Update to smartmatch
by ikegami (Patriarch) on Dec 26, 2017 at 19:51 UTC | |
by 1nickt (Canon) on Dec 27, 2017 at 00:10 UTC | |
|
Re^3: Update to smartmatch
by perldigious (Priest) on Dec 28, 2017 at 14:09 UTC | |
by 1nickt (Canon) on Dec 28, 2017 at 16:03 UTC | |
by perldigious (Priest) on Dec 28, 2017 at 17:05 UTC |