Summary
This chapter covers the two main methods of cleaning up communication in a code base. We have covered functional examples of how to use both interfaces and event delegates within our C++ setup, as well as the technical setup, using the U
and I
prefixes of an interface properly, and what each of the characteristics of a delegate mean. Now that the functional understanding is sorted, the next step should be to practice with these tools to get a better understanding of how they affect the code base. We will do this in the next chapter by looking at how we deploy both interfaces and event delegates with function calls, achieving a perfectly decoupled system where communication is as anonymous as possible. This naturally creates modular code design, allowing for much easier cohesion within teams.