Tell, Don't Ask - Graph View An object-oriented design principle: instead of asking an object for its data and making decisions with it, tell the object what to do and let it decide. View concept details Related ConceptsLaw of Demeter Encapsulation Design by Contract Single Responsibility Principle SOLID Principles Clean Code Refactoring Code Smell Primitive Obsession Open-Closed Principle Liskov Substitution Principle Interface Segregation Principle Dependency Inversion Principle ← Back to full graph