Skip to Content
Clean Architecture: A Craftsman's Guide to Software Structure and Design
book

Clean Architecture: A Craftsman's Guide to Software Structure and Design

by Robert C. Martin
September 2017
Intermediate to advanced
432 pages
8h 20m
English
Pearson
Content preview from Clean Architecture: A Craftsman's Guide to Software Structure and Design

13COMPONENT COHESION

Image

Which classes belong in which components? This is an important decision, and requires guidance from good software engineering principles. Unfortunately, over the years, this decision has been made in an ad hoc manner based almost entirely on context.

In this chapter we will discuss the three principles of component cohesion:

REP: The Reuse/Release Equivalence Principle

CCP: The Common Closure Principle

CRP: The Common Reuse Principle

THE REUSE/RELEASE EQUIVALENCE PRINCIPLE

The granule of reuse is the granule of release.

The last decade has seen the rise of a menagerie of module management tools, such as Maven, Leiningen, ...

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.
Start your free trial

You might also like

Software Architecture Patterns, 2nd Edition

Software Architecture Patterns, 2nd Edition

Mark Richards
Head First Software Architecture

Head First Software Architecture

Raju Gandhi, Mark Richards, Neal Ford
Design Patterns: Elements of Reusable Object-Oriented Software

Design Patterns: Elements of Reusable Object-Oriented Software

Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

Publisher Resources

ISBN: 9780134494272