Perl6 Rfc Librarian <[EMAIL PROTECTED]> writes: > >When I read the chapter on OO in the second edition camel book I >was saddened that C++ style method overloading was not explicitly >described. Ever hopeful, I wrote some quick code that I hoped would >do what I meant and discovered that it didn't. This document is >an attempt to remedy the situation. Contrary wise - I am saddened that C++ does not allow you to handle all the calls to a method in one place regardless of the types of the arguments ;-) You have to jump through all kinds of "conversion" hoops just so you can pass "most things" to a method. So long as we can still get the "relaxed perl5-ish" semantics (e.g. no prototype or prototype of "@") I don't see it does any harm to try for the other kind too. -- Nick Ing-Simmons
- RFC 97 (v1) prototype-based method overloading Perl6 RFC Librarian
- Re: RFC 97 (v1) prototype-based method overloadin... Jonathan Scott Duff
- Re: RFC 97 (v1) prototype-based method overloadin... Ask Bjoern Hansen
- Re: RFC 97 (v1) prototype-based method overlo... Chaim Frenkel
- Re: RFC 97 (v1) prototype-based method ov... Piers Cawley
- Re: RFC 97 (v1) prototype-based metho... Chaim Frenkel
- Re: RFC 97 (v1) prototype-based ... Peter Buckingham
- Re: RFC 97 (v1) prototype-ba... Nick Ing-Simmons
- Re: RFC 97 (v1) prototype-based method ov... Damian Conway
- Re: RFC 97 (v1) prototype-based metho... Piers Cawley
- Re: RFC 97 (v1) prototype-based method overloadin... Nick Ing-Simmons
- Re: RFC 97 (v1) prototype-based method overlo... Graham Barr
- Re: RFC 97 (v1) prototype-based method ov... David L. Nicol
- RE: RFC 97 (v1) prototype-based method overloadin... Evan Howarth
- Re: RFC 97 (v1) prototype-based method overlo... Chaim Frenkel
- Re: RFC 97 (v1) prototype-based method ov... Piers Cawley