On Mon, Aug 14, 2000 at 07:53:10PM +0000, Nick Ing-Simmons wrote:
> 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.

I would add to that, that as long as the addition of this does not effect
the performance of calling the methods that want the "relaxed perl5-ish"
semantics.

Graham.

Reply via email to