Skip to content
Sharp

Software Architecture · interview question

What principle suggests that functionality should not be added until it is necessary?

Multiple choiceMediumchapter-13-curatedpremiumsoftware-architecturepattern-abuse
Choose one answer
Answer and explanation

Correct answer

D. YAGNI

Why

YAGNI, which stands for "You Aren't Gonna Need It," is a principle that advises against adding functionality until it is actually needed. This helps to prevent over-engineering and keeps the codebase simpler and more maintainable.

Test yourself on Software Architecture

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

Start free test
All Software Architecture questions →