Command Pattern vs Functional Decomposition

JP Ventura 12 months ago • updated 12 months 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?