scala_school2 icon indicating copy to clipboard operation
scala_school2 copied to clipboard

Abstract methods and override issues

Open christydennison opened this issue 11 years ago • 0 comments

object-oriented-programming/abstract-and-sealed-classes#abstract-methods-and-override

  1. You don't explain override, but you use it as if it were a keyword in the title. There is an exercise called "overriding" but that doesn't imply that we should use the keyword.
  2. You're defining classes within the object Message, but don't really explain why you would do that instead of just defining them outside of the object. It doesn't seem to affect anything when you define the case classes outside of the object.

christydennison avatar Jul 11 '13 16:07 christydennison