About {} and its limits

Bert Freudenberg bert at impara.de
Thu Feb 10 16:46:29 UTC 2005


Am 10.02.2005 um 17:17 schrieb Alexandre Bergel:

>> * I'd rather call "super printOn:" in Array if it's neither literal 
>> nor
>> self-evaluating
>
> Why? If I print a collection of Object new, I would like to have to be 
> printed 'collection of (an Object)' rather than '#(an Object)'.

That's exactly what would happen if you use the super method. Array is 
a collection, after all. Try it ;-)

- Bert -




More information about the Squeak-dev mailing list