Skip to content

Glossary: Software Design Patterns in Rust

YAGNI (You aren't gonna need it)

Also written: YAGNI

A design rule: don't build for a need until it's real, such as a factory "in case we ever sell tea".

Where the book teaches it

Related terms

Premature abstractionRule of three