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

Re: Looking for someone to adopt adding trim() to core

Thread Previous | Thread Next
Alexander Hartmaier
February 15, 2021 11:07
Re: Looking for someone to adopt adding trim() to core
Message ID:
The whole point of adding trim to core is to *not* have to install a module
from CPAN.
And yes, new features aren't available in any older version, that's the
main reason for a new version!

I understand demerphqs points which are from a language developer
perspective, as a user of a language you don't care about such things.

The regular way for new features the last years was to add them
experimental behind a feature flag and mark them stable some releases
Defining how many releases, maybe with a minimum and maximum number would
be nice to not have a feature experimental forever like signatures.

trim is the same as many other core functions like lc, uc and chomp, do you
say that all future functions should be prefixed with something just to
ensure that they might clash with some function someone has defined in
their code?

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