stevan / p5-mop-redux

A(nother) MOP for Perl 5
139 stars 36 forks source link

methods: (also) take named parameters #123

Open maettu opened 11 years ago

maettu commented 11 years ago

Please implement that methods can take not only lists of parameters but also named parameters.

stevan commented 11 years ago

I think that Perl 6 style named parameters would be good, they do increase the complexity of the sig parsing though so I would like to wait until the core sub-sig lands so we can piggyback as much as possible on that.

doy commented 11 years ago

I think this should not be part of the first round of changes, because it will require a lot more effort - it needs changes not just to method signature parsing, but also at the places that methods are called, and that's a much higher level of complexity.

stevan commented 11 years ago

Agreed, this can be a "later" thing.

On Oct 17, 2013, at 5:37 PM, Jesse Luehrs notifications@github.com wrote:

I think this should not be part of the first round of changes, because it will require a lot more effort - it needs changes not just to method signature parsing, but also at the places that methods are called, and that's a much higher level of complexity.

— Reply to this email directly or view it on GitHub.