Applying the Law of Demeter

Laura Creighton lac at strakt.com
Fri Dec 13 02:08:28 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

I don't know, but I'll bet it what she wished she taught her daughter :-)

Laura




More information about the Python-list mailing list