essential-scala
essential-scala copied to clipboard
fix `directorsAge` bug and request `newer` method
PR just fixes a couple of bugs in the 'Extended body of work' exercise
BUG1: The model solution defined the directorsAge
to be yearOfBirth - yearOfRelease; so was negative for all valid director/film pairs
BUG2: The method newer
was defined in the model Film
object but the reader was not asked to implement this method.
Both bugs are fixed