scala_school2 icon indicating copy to clipboard operation
scala_school2 copied to clipboard

Case classes issues

Open christydennison opened this issue 11 years ago • 0 comments

object-oriented-programming/apply-unapply-and-case-classes#case-classes

"Exercise: play around" Not sure how helpful this is when you haven't fully explained what case classes are. Maybe suggest trying to instantiate a new object and see what happens.

"behaves compared to the old implementations." Not clear what the "old implementations" are (of a case class?).

Might be good to clarify explicitly that object methods are static methods and methods defined within classes are instance methods.

Why are they called "case" classes? How do they related to case statements?

christydennison avatar Jul 10 '13 23:07 christydennison