Command Pattern vs Functional Decomposition

JP Ventura 7 years ago updated 7 years ago 0

Android developers probably are familiar with Clean Architecture, where use cases are classes that implement the command pattern.

Even though this approach improves code readability and naturally makes BDD easier, how may one distinguish command design pattern from functional decomposition anti-pattern?