Effective Use of Inheritance in Scala | CodeSignal Learn