--
You received this message because you are subscribed to the Google Groups "object-composition" group.
To unsubscribe from this group and stop receiving emails from it, send an email to object-composit...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/object-composition/2fc9a89c-4629-4154-8790-4d0087784ca2%40gmail.com.
I recently ordered Trygve's book "Working With Objects:The Ooram Software Engineering Method", and just started reading it. In the first chapter it uses this metaphor for objects:
"We think of objects as being analogous to clerks: each clerk has an in-basket, an out-basket, a private data file, and a book of rules. Clerks cooperate through messages. A message consists of the named message type together with the possible parameter values. A clerk picks up a message from his in-basket and processes the message according to the appropriate rule selected from his rule book. Processing may include sending messages to other clerks, as well as reading and modifying values in the private data file."
Brilliant. I don't presume that this is some ultimate metaphor of OO (and no single metaphor will capture everything), but I thought it was fitting to share here as an illustration of Trygve's lifelong contributions toward making programming and the systems we create understandable.
This quote sounds very similar to the actor model, but IMO the
clerk metaphor in particular really distills the concepts well.
To view this discussion visit https://groups.google.com/d/msgid/object-composition/CADJq2-UVaZVxU%3DU500QAdBxQyR5L9QS49fy1Zz_Y8CQAP4rQsg%40mail.gmail.com.