object-oriented-programming - Concepts
Explore concepts tagged with "object-oriented-programming"
Total concepts: 4
Concepts
- Polymorphism - The ability for different types to be used through a common interface, with the actual behavior resolved according to each value's real type.
- Encapsulation - The principle of bundling data and behavior together while hiding internal implementation details behind a well-defined public interface.
- State Pattern - A behavioral design pattern that lets an object alter its behavior when its internal state changes by delegating to state-specific objects instead of large conditionals.
- Tell, Don't Ask - 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.
← Back to all concepts