Skip to Content
Modern Software Engineering: Doing What Works to Build Better Software Faster
book

Modern Software Engineering: Doing What Works to Build Better Software Faster

by David Farley
December 2021
Intermediate to advanced content levelIntermediate to advanced
256 pages
7h 25m
English
Addison-Wesley Professional
Content preview from Modern Software Engineering: Doing What Works to Build Better Software Faster

10

Cohesion

Cohesion (in computer science) is defined as “the degree to which the elements inside a module belong together.”1

Modularity and Cohesion: Fundamentals of Design

My favorite way to describe good software design is based on this Kent Beck quote:

Pull the things that are unrelated further apart, and put the things that are related closer together.

This simple, slightly jokey phrase has some real truth in it. Good design in software is really about the way in which we organize the code in the systems that we create. All my recommended principles to help us manage complexity are really about compartmentalizing our systems. We need to be able to build our systems out of smaller, more easily understandable, more easily testable, discrete ...

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

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

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

Robert C. Martin
Head First Software Architecture

Head First Software Architecture

Raju Gandhi, Mark Richards, Neal Ford

Publisher Resources

ISBN: 9780137314942