âïž
Oop
Object-Oriented Programming principles, design patterns, and best practices.
Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-oopOverview
Object-Oriented Programming principles, design patterns, and best practices.
Skills
- oop-fundamentals: Core OOP concepts: encapsulation, inheritance, polymorphism
- oop-design-patterns: Classic Gang of Four and modern design patterns
- oop-best-practices: SOLID principles and OOP anti-patterns to avoid
Skills
ð
oop-encapsulation
Use when applying encapsulation and information hiding principles in object-oriented design. Use when controlling access to object state and behavior.
ð
oop-inheritance-composition
Use when deciding between inheritance and composition in object-oriented design. Use when creating class hierarchies or composing objects from smaller components.
ð
oop-polymorphism
Use when implementing polymorphism and interfaces in object-oriented design. Use when creating flexible, extensible systems with interchangeable components.