Lessons:13Length:2.5 hours
  • Overview
  • Transcript

3.2 Open vs. Closed

Inheritance is a double-edged sword in object-oriented software. It groups properties and behavior together, but can also bring coupling issues if not handled with care.

In this lesson we explore the good side of inheritance and how you can use it to isolate behavior you want to implement to an already existing entity, whilst preventing regression issues.