While studying DBus code I came across a method that appears to set a class variable and return the value. In DBusConnection>> sessionBus
^SessionBus := self getBus: 0 from: SessionBus
and SessionBus is a class variable. Why return the value? Why not have the sender examine the value of SessionBus? Is it only a matter of style or is this more efficient?
Gary Dunn Open Slate Project http://openslate.org