Applying UML and Patterns: An Introduction to ObjectOriented Analysis and Design and Iterative Development, Third Edition [Electronic resources]

Craig Larman

نسخه متنی -صفحه : 472/ 262
نمايش فراداده

20.8. Order of Implementation

Classes need to be implemented (and ideally, fully unit tested) from least-coupled to most-coupled (see Figure 20.7). For example, possible first classes to implement are either

Payment or

ProductDescription ; next are classes only dependent on the prior implementations

ProductCatalog or

SalesLineItem .

Figure 20.7. Possible order of class implementation and testing.