Collection atRandom:
mwgrant2001
mwgrant2001 at yahoo.com
Sat Nov 22 14:02:50 UTC 2003
--- In squeak at yahoogroups.com, "Lex Spoon" <lex at c...> wrote:
> Michael Grant <mwgrant2001 at y...> wrote:
> > Lex Spoon <lex at c...> wrote:
> >
> > atRandom:
> >
> > BTW who uses this method?!
> >
> > mwg: uh.... I do (at the moment --- will look at DHB)
> >
>
> In class Set, though ? It must someone since the method did get
#atRandom in Collection. Old eyes missed the ":" and old brain missed
the "Set". Other than that I was right on. Sorry about that.
However, the 'Set' #atRandom: behavior does give pause for reflection
on random numbers and sampling in general. What to test and what not
to test when coding something. Murphy is always waiting in the wings.
Sigh...
Mike
More information about the Squeak-dev
mailing list
|