develooper Front page | perl.perl5.porters | Postings from October 2009

Re: do SUBROUTINE(LIST)

Thread Previous | Thread Next
From:
Abigail
Date:
October 27, 2009 03:26
Subject:
Re: do SUBROUTINE(LIST)
Message ID:
20091027102649.GB24654@almanda
On Tue, Oct 27, 2009 at 10:35:25AM +0100, Rafael Garcia-Suarez wrote:
> 2009/10/26 Zefram <zefram@fysh.org>:
> > "do SUBROUTINE(LIST)" to call a subroutine has been deprecated for a
> > long time (at least since 5.004).  Can we remove it now?
> 
> I don't think that this removal would help making perl faster, taking
> less memory, or helping fixing a bug. So it would do more harm than
> good.
> 
> Remember, deprecation warnings are here to warn users about old
> constructs that have been replaced by something better; not to mark
> features for removal.


Can I make a suggestion? 

Let's consider anything marked 'deprecated' as 'this construct may
disappear in a future release without further warning'. But such a
feature is only removed if there's a clear benefit (speed up in more
common constructs; it gets in the way of implementing a new feature; etc).

A list was posted of all features marked 'deprecated', but it didn't come
with what benefits deleting those features gains. Personally, I don't think
I've any code that's affected if those features get removed. But removal
for the sake of removal isn't something that seems to win us many friends.
Of course, in the grand scheme of things, I doubt there's that much code
that will be effected.


Abigail

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