Skip to content

Glossary: Software Design Patterns in JavaScript

Premature abstraction

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

Where the book teaches it

Related terms

YAGNIRule of threeOver-engineering