Primitive Obsession - Graph View A code smell where primitive types like strings, integers and booleans represent domain concepts that deserve their own small types. View concept details Related ConceptsValue Object Code Smell Refactoring Make Illegal States Unrepresentable Parse, Don't Validate Hard to Misuse Boolean Trap Domain-Driven Design Ubiquitous Language Secure by Design Clean Code Algebraic Data Types Newtype Pattern Smart Constructor Stringly Typed ← Back to full graph