Skip to content
Sharp

Design patterns · interview question

How would you explain a typical sign that the Strategy Pattern is being over-engineered in a simple application in an interview?

Multiple choiceMediumchapter-13-curatedpremiumdesign-patternsstrategy-pattern
Choose one answer
Answer and explanation

Correct answer

B. The application has more strategy classes than necessary.

Why

If an application has more strategy classes than necessary, this suggests over-engineering, as the complexity introduced by numerous classes does not justify the benefits in a simple application.

Test yourself on Design patterns

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

Start free test
All Design patterns questions →