Skip to content
Sharp

Design patterns · interview question

Which situation is the clearest example of over-engineering with the Strategy Pattern?

Multiple choiceHardchapter-13-curatedpremiumdesign-patternspattern-abuse
Choose one answer
Answer and explanation

Correct answer

A. Wrapping one stable tax formula in five strategy classes even though it has not changed once

Why

When logic is stable and simple, extra pattern layers create indirection without reducing risk. Good pattern use follows observed volatility, not hypothetical future complexity.

Test yourself on Design patterns

A free test with instant, explained results. No account needed.

Start free test
All Design patterns questions →