p5-mop-redux
p5-mop-redux copied to clipboard
methods: (also) take named parameters
Please implement that methods can take not only lists of parameters but also named parameters.
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.
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.
Agreed, this can be a "later" thing.
On Oct 17, 2013, at 5:37 PM, Jesse Luehrs [email protected] 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.