Design Pattern

디자인 패턴 목록

Composite Pattern

[디자인 패턴] Composite Pattern

Sequential Coupling

https://en.wikipedia.org/wiki/Sequential_coupling

In object-oriented programming, sequential coupling (also known as temporal coupling) is a form of coupling where a class requires its methods to be called in a particular sequence. This may be an anti-pattern, depending on context.

Sequential coupling can be refactored with the template method pattern to overcome the problems posed by the usage of this anti-pattern.

https://betterprogramming.pub/temporal-coupling-in-code-e74899f7a48f