10.4. Frameworks and Class Libraries
Object orientation has been promising reuse for many years, but only now are we beginning to realize this promise. Identifying various business processes and workflows is the means to writing reusable code. Assuming we've identified solid reuse candidates, our next challenge is determining a strategy for achieving reuse. This strategy should involve the establishment of an architectural vision, which may involve growing a framework or a class library.
Framework and class library often are used synonymously. However, a framework isn't the same as a class library. The two concepts differ on a fundamental level. Frameworks help us resolve challenges through inheritance, whereas class libraries do so through composition. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access