Skip to content

Glossary: Software Design Patterns in C++

YAGNI

Also written: You aren't gonna need it

'You aren't gonna need it': don't build for a need until it's real. Sam's 'in case we ever sell tea' factory fails this test.

Where the book teaches it

Related terms

KISSOver-engineeringPremature abstraction