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

Re: Proposal: Named parameters for 5.12

Thread Previous | Thread Next
Ben Morrow
December 5, 2008 18:16
Re: Proposal: Named parameters for 5.12
Message ID:

Quoth (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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About