Hi there,
On Fri, 24 Jun 2022, Ricardo Signes wrote:
> On Tue, Jun 21, 2022, at 04:45, Paul "LeoNerd" Evans wrote:
>> I think there's two things we need to do:
>>
>> 1) Make ~~ and given/when much louder about their "you shouldn't use
>> this for new code" status;
>
> Agreed. Let's do that immediately?
>
>> 2) Create a better replacement
>
> I'm all for having a better replacement, but I continue to strongly oppose the idea that we *need* one to remove the old thing.
>
> I write a lot of Perl, and have since before smartmatch was introduced. I never used smartmatch for much. I have banned it from my projects. I have seen it largely unused. Nothing it does can't be done some other way already, although sometime more verbosely. We don't need a replacement, because *we have gotten along fine without using it for 20 years.*
>
> A replacement would be nice, if it's good, but it doesn't need to exist before we take the old thing out.
My sentiments exactly.
I briefly flirted with 'given'. In 2017 I abandoned it, and swore that it would be forever.
Even if there's a new one, I doubt I'd take the risk.
--
73,
Ged.
On Fri, 24 Jun 2022, Ricardo Signes wrote:
> On Tue, Jun 21, 2022, at 04:45, Paul "LeoNerd" Evans wrote:
>> I think there's two things we need to do:
>>
>> 1) Make ~~ and given/when much louder about their "you shouldn't use
>> this for new code" status;
>
> Agreed. Let's do that immediately?
>
>> 2) Create a better replacement
>
> I'm all for having a better replacement, but I continue to strongly oppose the idea that we *need* one to remove the old thing.
>
> I write a lot of Perl, and have since before smartmatch was introduced. I never used smartmatch for much. I have banned it from my projects. I have seen it largely unused. Nothing it does can't be done some other way already, although sometime more verbosely. We don't need a replacement, because *we have gotten along fine without using it for 20 years.*
>
> A replacement would be nice, if it's good, but it doesn't need to exist before we take the old thing out.
My sentiments exactly.
I briefly flirted with 'given'. In 2017 I abandoned it, and swore that it would be forever.
Even if there's a new one, I doubt I'd take the risk.
--
73,
Ged.