What is the Smalltalk equivalent of Java's static?
What is the Smalltalk equivalent of Java's static fields and methods? IOW, what do the Smalltalkers do when they need class level data and/or methods? We use class-side methods/instance variables. A class is an object, after all, so can have methods. For instance, the Rectangle class has a method #origin:corner: so you may write Rectangle origin: 0@0 corner: 100@100 to create a Rectangle. This is just the message #origin:corner: sent to the object called Rectangle (a class is an object!) with the two Points as parameters. Class-side instance variables work much the same way. A class, being an