develooper Front page | perl.perl5.porters | Postings from June 2020

Re: Announcing Perl 7 Perl5 Porters <perl5-porters@perl.org>

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 30, 2020 12:06
Subject:
Re: Announcing Perl 7 Perl5 Porters <perl5-porters@perl.org>
Message ID:
20200630130624.41e79826@shy.leonerd.org.uk
On Tue, 30 Jun 2020 13:53:25 +0200
Salvador FandiƱo <sfandino@gmail.com> wrote:

> > I believe the main motivation for people saying they don't want to
> > "use v7" is precisely to avoid having to update to "use v8" and so
> > on in the future; having to chase the latest-and-greatest by making
> > a single character change to their code every decade or so.  
> 
> But that just completely misses the point that some of your fine perl
> 7 code would break when run under the perl 8 interpreter unless you
> hint it to use the perl 7 semantics, in some way, right?

Which is exactly the state that we are currently in where we have a
great amount of existing perl 5 code (CPAN, DarkPAN, personal repoes,
etc..) which would break when run under the perl 7 in interpreter, for
exactly the same category of reasons.

> I don't know if other people like to revisit their old code
> frequently and update it to use new features as they become
> available. Definitively that's not my case!

Oh indeed. I personally am greatly in favour of continuing to declare
what version of perl semantics the author wishes to have. I think just
dragging people along to the latest-and-greatest without their
opting-in is a terrible idea.

The point of my message was simply to say that the people objecting to
"use v7" are objecting to the "I have to declare that 7 in some way"
part of it - and I suspect (though I may be putting words in their
mouths here) that they would be equally opposed to declaring the 7 by
way of the filename extension, as they would be in a "use" statement.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

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