Chapter 22. Designing with Classes
So far, we've concentrated on the OOP tool in
Python—the class. But OOP is also about design issues—how
to use classes to model useful objects. This section will touch on a
few OOP core ideas, and look at some additional examples that are
more realistic than the examples shown so far. Many of the design
terms mentioned here require more explanation than we can provide; if
this section sparks your curiosity, we suggest exploring a text on
OOP design or design patterns as a next step.
|