I have recently completed two video clips that explain two important topics related to inheritance in Scala. These two video clips were created as part of the ‘Scala Fundamentals’ course, which is available for free personal and academic usage at www.abelski.com.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.