[Newbies] Returned values
garydunnhi at gmail.com
Mon Feb 28 20:06:44 UTC 2011
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?
Open Slate Project
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners