Introduction to OOP | Chapter 23: Object Interconnections : | next | previous | audio | real | text |
Again, makes it difficult to understand a class in isolation.
Can be mitagated by making a controller class, that clearly indicates the sequence of operations.
class MyClass { public: doStuff () { doFirst(); doSecond(); doThird(); } protected: doFirst() { ... } doSecond() { ... } doThird() { ... } }