Front page | perl.perl5.porters |
Postings from October 2009
Re: do SUBROUTINE(LIST)
Thread Previous
|
Thread Next
From:
John P. Linderman
Date:
October 27, 2009 06:47
Subject:
Re: do SUBROUTINE(LIST)
Message ID:
20091027134730.C056B2E61F@research.att.com
On Tue, 27 Oct 2009 at 08:47:56, jesse <jesse@fsck.com> observed:
> On Tue, Oct 27, 2009 at 08:44:11AM -0400, John P. Linderman wrote:
> > I think chromatic is on the right path:
> >
> > On Mon, 26 Oct 2009 at 19:25:58 chromatic offered:
> > > Would you consider this upgrade less of a hardship if
> > > there were converters which could rewrite programs to
> > > avoid deprecated features?
> >
> > If the "price of deprecating" was to provide a converter
> > that corrected the deprecated feature, then the arguments
> > against breaking a lot of old code are easier to answer. -- jpl
>
> That's what Python 3 did. Uptake is reported to be ... slow. And it
> sounds like they're working toward a multi-year moratorium on core
> language changes to let people catch up and get comfortable with the
> change. (Though the focus of their moratorium is on language
> implementers not users).
>
> -jesse
I don't speak python, but I believe this is a horse of a
different color (to mangle a metaphor or two). People
actively writing perl code probably haven't used the
deprecated features for years. To the extent that this
is true, running the converter on actively maintained
code won't change much, if anything, and any changes will
be easily understood by the maintainer. Those still
running perl [1234] code probably aren't making a lot
of changes, they just want it to keep working, and a
proper conversion should do that.
I suspect python 2 => 3 is more like perl 5 => 6.
Perl 6 is going to be enough different from perl 5
that I would be hesitant to convert code I'm actively
developing. On the other hand, I'd cheerfully convert
all the perl 4 code I have (and I have quite a bit)
to perl 6, because I haven't touched it in a decade,
and don't intend to touch it again, ever. -- jpl
Thread Previous
|
Thread Next