You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: