SpinTheMic
Pro

Interview practice question

Code full of unnecessary patterns

Backend Engineering · OOP and Design Patterns · Intermediate

A new service has factories, abstract factories, strategies and five layers of interfaces, but only one implementation of each. Simple changes take ages. What would you advise?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Over-engineering; YAGNI.
  • Patterns solve problems, not goals.
  • Remove indirection with single implementation.
  • Add abstraction when a real second case appears.
  • Keep code simple and readable.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics