develooper Front page | perl.perl5.porters | Postings from August 2021

Re: like, but for successful experiments

Thread Previous | Thread Next
Neil Bowers
August 9, 2021 07:55
Re: like, but for successful experiments
Message ID:
I like this idea, but I think futuristic is a misnomer, and might cause confusion, because at some point people will see it together with a feature which was added "years ago".

It’s essentially "use feature if final", or maybe "stable experiment".

So alternate names:

    use stable qw/ postderef postderef_qq /;
    use experimental -stable qw/ postderef postderef_qq /;
    use feature -stable qw/ postderef postderef_qq /;

I think it’s already potentially confusing that there are two different pragma for using "new features" – feature and experimental – so I think we should try to avoid adding a third. Better if we can make it part of one of the existing pragmata.

One advantage of "feature -stable" would be that people aren’t seeing the word "experimental" at the top of the code, which I think is part of what you’re trying to achieve / communicate?


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