OOP & Design Patterns - Composition vs Inheritance - Favour Composition, Why & When
You are designing a plugin system where plugins can be added or removed at runtime, each providing different behaviors to a core application. Which approach is better and why?
