Part 2: Anonymous Modular Design
In this part, we will begin creating more efficient code to build modular solutions that communicate with each other efficiently and cleanly, without the use of direct references and casts.
We will start by reducing the need for gated polling in our code by replacing it with cleaner communication methods, and we will explore interfaces and event delegates to allow our code to be decoupled. This will culminate in a coding design paradigm we call Anonymous Modular Design, which should make our object-oriented code the most maintainable and expandable it can be.
This part has the following chapters:
- Chapter 5, Forgetting Tick
- Chapter 6, Clean Communication – Interface and Event Observer Patterns
- Chapter 7, A Perfectly Decoupled System