From: Robert Klemme Date: 2008-05-23T06:25:04+09:00 Subject: Re: OOP in Ruby? On 22.05.2008 22:36, Rick DeNatale wrote: > This was one of the early books approaching OO design in the context > of Smalltalk, which introduced the computation by messages between > objects. It advocates a role-based approach rather than the > abstract-data type approach, corresponding to the C++ (and to a large > extent Java) view of OO. Without wanting to start an indepth discussion about OO, but aren't these just two sides of the same medal? The message metaphor seems to lean a bit more on the client side while the ADT view is a bit more about how messages transform internal state (although ADT is mainly about observable state through sequences of method invocations). In the end, in both cases an instance holds state which is changed via method invocation / method sending and the implementation determines how the state may be manipulated. Kind regards robert