Hard to Misuse - Graph View Make interfaces easy to use correctly and hard to use incorrectly, so the design prevents mistakes instead of relying on the documentation. View concept details Related ConceptsPit of Success Principle of Least Astonishment Make Illegal States Unrepresentable Parse, Don't Validate Design by Contract Secure by Default Poka-Yoke Affordances Developer Experience API Fail Fast Defensive Design Footgun Boolean Trap Primitive Obsession Hyrum's Law Typestate Pattern Newtype Pattern Stringly Typed ← Back to full graph