Re: INTRODUCTION TO CLASSES - Class Variables - 5/14
In the above lesson, “
object.variable syntax” is mentioned, and “Above we defined the class
Musician, then instantiated
drummer to be an object of type
Musician .” is written.
As this is an introduction to classes, I think it would be more beneficial if the lesson was explicit that ‘drummer’ is a variable that references an object of type ‘Musician’, rather than immediately calling ‘drummer’ an object, and then went on to explain that we can just describe ‘drummer’ as the object it references for ease?