Build Models into the Code
Models allow us to reason about the architecture, but they suffer from a fatal flaw. Most models are a representation of the architecture, inherently divorced from the code. Without care, the ideas discussed in our models will never make their way into the code we write. Alas, all our thinking and reasoning about quality attributes is for naught!
Despair not. With some thought, we can build many of our architecture models directly into the code. There are many benefits to building architecture models into the code. When the architecture is self-evident within the code, it’s easier to maintain conceptual design integrity and promote desired quality attributes. Building models into the code decreases the chances of ...
Get Design It! now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.