Joshua 'Schwa' Gargus
schwa at cc.gatech.edu
Tue Jun 11 13:15:05 UTC 2002
On Tue, Jun 11, 2002 at 01:52:45PM +0200, Niko Schwarz wrote:
> Am Dienstag, 11. Juni 2002 11:20 schrieb Hans-Martin Mosner:
> > ??? If you don't want a method to toggle the flag, then don't write one.
> > Whhere is the problem? :-)
> A method called smallest could have 2 meanings.
> a) turn the object to be the smallest
> b) tell if the object is the smallest.
> in ruby, a would be "smallest!" and b) would be "smallest?"
> is there smth like this in smalltalk? what do you do in such cases?
a) beSmallest, becomeSmallest
More information about the Squeak-dev