| Class methods can do more than just make new instances. Consider "Newspaper start" |
| No, prototype-based systems actually consume LESS memory, and they can also do polymorphism. And you keep explaining class methods in terms of Java ("can use it when there are no instances"). WHO UNDERSTANDS CLASS METHODS? That's the critical part. Mark Guzdial |
| That's all true, but darn hard to understand :-). Basically, class methods are understood by the CLASS OBJECT ONLY! Doesn't matter if instances of the class exist or not. Instance methods are understood by INSTANCES ONLY. That's why "joe clearWorld" and "Box grow: 10" both fail. Mark Guzdial |