Applying the Law of Demeter

Greg Ewing see_reply_address at something.invalid
Thu Dec 12 20:03:05 EST 2002


Brett g Porter wrote:

> Or: Each unit should only talk to its friends; Don't talk
> to strangers.


Especially ones that pass you sweets as parameters.

> In this general form, the LoD is a more specific case of the Low Coupling
> Principle well-known in software engineering. The Low Coupling Principle is
> very general and we tried to make it more specific.


What I'd like to know is where the word "Demeter" came from.
Is it someone's name, or what?

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list