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

Re: module RFC

Thread Previous
Paul "LeoNerd" Evans
January 26, 2022 13:41
Re: module RFC
Message ID:
On Wed, 26 Jan 2022 12:15:39 +0000 (UTC)
Ovid via perl5-porters <> wrote:

> I have created a proper PR for this:
> Please respond there. I know there was plenty of discussion here, so
> feel free to reshare comments there.

As it's related to a comment on the PR but not about the PR itself, I
thought I'd respond to this here:

> Perl doesn't seem to have a grand roadmap for advancing. I would like
> to change that by adopting a more holistic approach to features.

I'm not sure I agree with that, as a statement.

My "Perl in 2025" has become a sortof personal roadmap for the things I
want to work on over the next few years; a collection of ideas that if
we get the lot of those in we'll be in a good state to call a new major

>  1. Design features in groups that are thought out together.
>  2  Limit new feature scopes to avoid the issue of simply having use
>     v7 in legacy code break things.
>  3. Adopt a more uniform KIM syntax (keyword, identifier, modifier.
>     E.g., module Some::Module :version(42) {...}.
>  4. Address a definition of done for feature groups necessary to say
>     "this is Perl 7."

I'm not sure I too strongly adhere to point 3, but the rest of that is
verymuch exactly what I'm doing. :)

A lot of these ideas have already become CPAN modules to experiment

  match/case -
  equ, === -
  any, all -
  multi sub -

If you think it would help I can continue to write up more of these
ideas into blog posts, pre-RFCs and actual RFCs. I didn't originally
feel it would be a good idea to throw out lots of ideas far faster than
I can get around to implementing them - already this year I've been
quite busy getting try/catch/finally and defer into core, along with
the various progressions of signatures.

Paul "LeoNerd" Evans      |  |

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