Re: RFC 159 (v1) True Polymorphic Objects

[email protected] (Nathan Wiger)
Newsgroups perl.perl6.language.objects
Organization Sun Microsystems
Message-ID <[email protected]>
Tom Christiansen wrote:
> 
> I encourage one to examine how Python does this.  Particularly attractive
> is the way one does not have to distinguish between tie and operator
> overloading there.

I'll check it out. 

But just to clarify: This proposal means we won't be distinguishing
between tie and overloading either. Any of the methods can be defined
for an object, they're called automatically by Perl in the proper
context.

In fact, if we made this robust enough it may well make tie unnecessary
(NO I'M NOT SUGGESTING THIS YET! :-).

-Nate
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.