[Q] Object size
Marcus Denker
marcus at ira.uka.de
Tue Feb 17 08:02:46 UTC 2004
Am 16.02.2004 um 23:57 schrieb Chris Muller:
>
>> Should we modify Object>>size so that it will answer
>> 0 when sent to fixed-sized objects? What problems are
>> to be feared when we do that?
>
> "Yes" to the first question. "None I can imagine" to the second.
> There
> shouldn't be any problems; it'd be doing anyone who's trapping for
> whatever
> Exception is thrown a favor, since that's poor practice anyway.
>
I remember that this was changed years ago on purpose. I don't remember
why. It might be an idea to read the old discussion of why this was
changed originally...
(this was before 2.4 or even 2.2)
Marcus
--
Marcus Denker marcus at ira.uka.de
More information about the Squeak-dev
mailing list
|