lunedì 5 gennaio 2015

the key element of GOOS

Overcoming the one weakness of OOP, thoughts ? - Google Gruppi: "I think the key element of GOOS, w.r.t. your question, is that objects talk only to their immediate neighbours, and do not know anything about the object graph of which they are part.  Code does not explicitly traverse the object graph. The thread of control running through the objects does traverse the object graph (because it carries messages from one object to another), but the code that defines object behaviour is decoupled from the structure of that graph." Nat Pryce