- Mastering Objectoriented Python
- Steven F. Lott
- 65字
- 2021-11-12 16:24:55
Note
We should be able to demonstrate a design at the >>>
prompt.
Exercising code from the >>>
prompt is an important quality test for Python design complexity. If the classes or functions are too complex, then there's no easy way to exercise it from the >>>
prompt. For some complex classes, we may need to provide appropriate mock objects to permit easy, interactive use.