April 2017
Beginner to intermediate
394 pages
9h 16m
English
The concept of avoiding concreate classes isn't new. Robert C. Martin defined this idea in The C++ Report in May 1996 in an article titled The Dependency Inversion Principle. It is the D in his SOLID design principles. The principle has two parts:
While this may seem like a mouthful, the concept is actually very easy. Imagine we have a StageManager class that is responsible for initializing, updating, and shutting down all of the stages in our game. In this case, our StageManager is our high-level modules, and the stages are the ...
Read now
Unlock full access