[Python-ideas] Message passing syntax for objects

Ethan Furman ethan at stoneleaf.us
Mon Mar 18 18:47:33 CET 2013

On 03/18/2013 10:36 AM, Mark Janssen wrote:
> No more having to learn each programers interface for passing
> interacting with the object.  The >> and << syntax now becomes the de
> facto way for object interaction across all objects.  Class design
> will revolve around this fact.

We need a concrete example.  Let's do `int`s.  Currently, a small subset of the things we can do with ints includes 
multiplying, dividing, adding, subtracting, and (formatted) displaying -- how would these operations look with a message 
passing inteface?


More information about the Python-ideas mailing list