Tap to add a case. Watch what happens to the cost of the next change. The pattern only earns its place at a certain point — this shows you where.
Two or three fixed cases. A conditional is the honest answer here.
If the cases are few and frozen, the if/else is cheaper. Adding a Strategy interface for two values that never change is over-abstraction — the abstraction outlives its reason.
Pattern Fit · a teaching sample