What is the name of this Python programming style

Carl Banks imbosol at aerojockey.invalid
Sat May 22 20:15:46 EDT 2004


Dave Kuhlman wrote:
> In this style or pattern, a high level class is given an instance
> (or a class from which it creates an instance), then uses that
> instance to perform its tasks.

Delegation.


-- 
CARL BANKS                      http://www.aerojockey.com/software
"If you believe in yourself, drink your school, stay on drugs, and
don't do milk, you can get work." 
          -- Parody of Mr. T from a Robert Smigel Cartoon



More information about the Python-list mailing list