develooper Front page | perl.perl5.porters | Postings from December 2008

Re: Proposal: Named parameters for 5.12

Thread Previous | Thread Next
From:
Ben Morrow
Date:
December 5, 2008 18:16
Subject:
Re: Proposal: Named parameters for 5.12
Message ID:
la3p06-ohg.ln1@osiris.mauzo.dyndns.org

Quoth chromatic@wgz.org (chromatic):
> On Friday 05 December 2008 14:45:13 Vincent Pit wrote:
> 
> > I think that the key feature would be aliasing of parameters (even as an
> > optional trait).
> 
> > Maybe I'm a little naive but without it, how pretty the new syntax could
> > be, I don't think it would be enough for experienced users to justify
> > the break in backward compatibility.
> 
> *What* break in backward compatibility?  You've completely lost me here.

Presumably the fact that code written using 5.12's method signatures
won't run on 5.10 and earlier.

The same argument could be made for given/when, though (the workarounds
aren't *that* ugly) and that went in; and I'm glad it did.

Ben


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