9 Stratified design: Part 2


In this chapter

  • Learn to construct abstraction barriers to modularize code.
  • Discover what to look for in a good interface (and how to find it).
  • Know when design is good enough.
  • Discover how stratified design helps maintenance, testing, and reuse.

In the last chapter, we learned how to draw call graphs and look for layers to help us organize our code. In this chapter, we continue deepening our understanding of stratified design and honing our design intuition with three more patterns. These patterns help us with the maintenance, testing, and reuse of our code.

Patterns of stratified design

Just as a reminder, we ...

Get Grokking Simplicity 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.