Welcome to the Treehouse Community
Looking to learn something new?
Dennis Le12,872 Points
Instance...what is he talking about?
Defining a class by MDN......
"In class-based languages, you define a class in a separate class definition. In that definition you can specify special methods, called constructors, to create instances of the class. A constructor method can specify initial values for the instance's properties and perform other processing appropriate at creation time. You use the new operator in association with the constructor method to create class instances.
These is also a chart on the site....showing the comparison of class java and prototype-base java script.....
Jacob Bergdahl29,118 Points
An object is a broad term -- everything in object-oriented programming is an object. Instance is more accurate. For example, in var dice = new Dice(), dice is an instance of Dice. This terminology is used for, as far as I'm aware, every single object-oriented programming language. Thus, the terminology used by the teacher is correct. You are indeed creating an object, but more precisely, it's an instance of a class.
I hope this clears it up a little.
Agreed. It's confusing! For the rest of the world an instance of a class is an object.
I think Dennis was referring to this statement (made at 3:37):
For values and behavior to be shared between instances of objects.