Skip to content

Glossary: Software Design Patterns

Premature abstraction

Adding an interface, base class or factory before you have two or three real cases. It guesses what will vary, and a wrong guess is harder to undo than plain code.

Where the book teaches it

Related terms

Rule of threeYAGNI