You are previewing Domain-Driven Design: Tackling Complexity in the Heart of Software.

Domain-Driven Design: Tackling Complexity in the Heart of Software

Cover of Domain-Driven Design: Tackling Complexity in the Heart of Software by Eric Evans Published by Addison-Wesley Professional
O'Reilly logo

Eight. Breakthrough

Image

The returns from refactoring are not linear. Usually there is a marginal return for a small effort, and the small improvements add up. They fight entropy, and they are the frontline protection against a fossilized legacy. But some of the most important insights come abruptly and send a shock through the project.

Slowly but surely, the team assimilates knowledge and crunches it into a model. Deep models can emerge gradually through a sequence of small refactorings, an object at a time: a tweaked association here, a shifted responsibility there.

Often, though, continuous refactoring prepares the way for something less orderly. ...

The best content for your career. Discover unlimited learning on demand for around $1/day.