2 ms·
Uncle Bob argues that the point of OOP is dependency inversion. That is, your core logic doesn't know exactly some of the methods that will be called and some o
by nazgul17 4y ago
Uncle Bob argues that the point of OOP is dependency inversion. That is, your core logic doesn't know exactly some of the methods that will be called and some of the data structures that will be involved at execution time. Instead, those can be provided externally, which will make the logic resilient to code rot. Sounds like polymorphism, interfaces and method signatures.