[Python-ideas] Message passing syntax for objects

Antoine Pitrou solipsis at pitrou.net
Mon Mar 18 18:13:40 CET 2013


Le Mon, 18 Mar 2013 10:04:36 -0700,
Mark Janssen <dreamingforward at gmail.com>
a écrit :
> By message passing, I mean all the ways we communicate to objects in
> the OOP environment.  Usually we "communicate" to them through
> method-invokation.  But this is the wrong way, I argue, to look at the
> problem.

I think you have failed to articulate clearly what the problem is.

> Hopefully my paragraph clarifies that a bit.  But the key conceptual
> shift is that by enforcing a syntax that moves away from invoking
> methods and move to message passing between objects, you're
> automatically enforcing a more modular approach.

That sounds like wishful thinking to me.

Regards

Antoine.





More information about the Python-ideas mailing list