[squeak-dev] isSelfEvaluating (was: Re: The Trunk: Collections-nice.173.mcz)

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Oct 30 20:13:46 UTC 2009


2009/10/30 Andreas Raab <andreas.raab at gmx.de>:
> Question: I've always wondered what this "isSelfEvaluating" stuff is good
> for. There are thirteen implementors and a single user in Array>>printOn:.
> Is there any *need* for Array>>printOn: to print a "self evaluating"
> expression? Why not just Array(element1, element2, ....) just like any other
> collection?
>
> We'd remove some 20 methods with no downside that I am aware of.
>
> Cheers,
>  - Andreas
>
>

Yes, that seems a bit expensive.
Don't know about other usage...

Nicolas



More information about the Squeak-dev mailing list