About {} and its limits

Avi Bryant avi.bryant at gmail.com
Fri Feb 11 09:58:43 UTC 2005


On Fri, 11 Feb 2005 08:33:22 +0100, stéphane ducasse
<ducasse at iam.unibe.ch> wrote:

> I have another point/question
> instead of
>         self assertCode: '{Rectangle new . Object new}' print: 'anArray #(nil
> corner: nil an Object)'.
> I would prefer
>         self assertCode: '{Rectangle new . Object new}' print: 'anArray #(
> 'nil corner: nil'  'an Object')'.
> 
> so that I can see the actual elements. What do you think about that.

No, I read that as an array of strings.  Better would be

an Array (nil corner: nil, an Object)



More information about the Squeak-dev mailing list