Prototypes
|
PrototypesSelf is a prototype-based language. What does this mean?Conventional object-oriented languages use classes to define the structure and behavior of objects. When a new object is required, a class must be instantiated . Modifying an object's structure or behavior means the class has to be modified. There are disadvantages to this approach:
|