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

Re: What happened to the whole "small core" idea?

Thread Previous | Thread Next
From:
Paul LeoNerd Evans
Date:
October 28, 2012 06:06
Subject:
Re: What happened to the whole "small core" idea?
Message ID:
20121028130622.GE7283@leonerd.org.uk
On Sat, Oct 27, 2012 at 09:32:40AM -0400, Peter Martini wrote:
> Just a couple of thoughts from my phone, which is why I cut out the message:
> 
> 1. Sub signatures have been prototyped, and quite successfully, on CPAN.
> The internal interface could be improved, but the core support is there.

What??

Yes, the vague hand-wavy 20,000ft view of "lets reuse the prototype
field to put named parameters" idea has been prototyped on CPAN. Lots of
times.

The _details_ haven't been. There's lots of arguments on strict-vs-lax
arity, what to do about when the caller provides too many values, or
too few.. Whether it should be alias or bind or copy or read-only or
whatever.. These are all the _details_ that are still being worked out
now precicely _because_ it hasn't been prototyped properly yet on CPAN.

When _ONE_ standard set of semantics makes its way out among all the
others, as being the one the _community_ wants, that is the time I feel
would be right for p5p to look into it.

Not before.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

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