Introduction to OOP Chapter 23: Object Interconnections : next previous audio real text

Control, or Sequence Coupling

This occurs when objects are linked by the fact that one must be manipulated before the other, but otherwise they have no connection.

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() { ... }
}
Intro OOP, Chapter 23, Slide 09