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

Re: PSC #049 2022-01-07

Thread Previous | Thread Next
From:
Neil Bowers
Date:
January 14, 2022 10:42
Subject:
Re: PSC #049 2022-01-07
Message ID:
311443ae-f177-428f-ada9-3499de037520@Spark
Part of the problem here is that we don’t know what the end-point is, and we’d like our next step to be a step in the right direction.

If we make signatures non-experimental, and part of `use v5.36`, then we’ll be encouraging "everyone" to start using signatures. This is a good step forward.

I initially argued for #2, as I was worried that if are going to remove @_ in the future, we’ll be setting regular Perl programmers up for pain, if we don’t help them avoid using @_ in signatured subs. Once we make something non-experimental, we have a responsibility to those programmers.

Going with #1 possibly restricts what we can do in the future, but I still think we should do it, otherwise another year will have gone by without signatures. And for the bulk of Perl programmers, I suspect the big win is giving them what we already have.

Neil

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