(1 to: self) inject: 1 into: #*
Jarvis, Robert P. (Contingent)
Jarvisb at timken.com
Thu Jan 20 13:34:45 UTC 2000
Why #inject:withBinary? I don't understand the 'binary' part of it.
Bob Jarvis
Compuware @ Timken
> -----Original Message-----
> From: agree at carltonfields.com [SMTP:agree at carltonfields.com]
> Sent: Wednesday, January 19, 2000 5:02 PM
> To: Jarvis, Robert P. (Contingent); squeak at cs.uiuc.edu
> Subject: RE: (1 to: self) inject: 1 into: #*
>
> > Second, IIRC we went through an exercise a while back to get > rid of
> message
> > implementations in various classes which, while they were > useful,
> served
> > mostly as crutches and/or bandages for problems elsewhere in > the
> image.
> > (Someone else will have to chime in with specifics here, as I > was only
> an
> > observer of this process). Slapping bits of Collection protocol
> > (specifically #value:value:) into Symbol seems to me to be a > step
> backwards
> > in this regard.
>
> Indeed. Why overload #inject:into:? How about instead using
> #inject:withBinary: for the alternative form?
More information about the Squeak-dev
mailing list
|