Skip to main content
InterviewHubPRO
Section Overview
Q29

Question 29 of 50

Part 3: Architectural Patterns & Enterprise Systems (25 - 35)

58%
Design Patterns (GoF) (50 Qs)•Part 3: Architectural Patterns & Enterprise Systems (25 - 35)

When does Design Pattern Over-Engineering harm software projects?

mid Leveldesign-patternsArchitectural Patterns

In Simple Words: Applying GoF patterns blindly where simple procedural code is sufficient ("Patternitis"):

  • Introducing 5 layers of Factories, Builders, and Adapters for a CRUD service that will only ever query a single PostgreSQL table.
  • Increases cognitive load, makes debugging painful, and inflates codebase size.
  • Rule of Thumb: Follow YAGNI (You Aren't Gonna Need It) and the Rule of Three: write simple code first; refactor to a design pattern only when duplication and complexity organically demand it. `