About {} and its limits

Brent Pinkney brent.pinkney at aircom.co.za
Sat Feb 12 18:15:25 UTC 2005


> I just had a look at the Array>>brace* methods. I do not understand why  
> there are in the image since with:with:... exist.

Syntactic suger. Like -> instead of Association>>key:value:

Nice and terse. Keeps the code pretty.

Also, the {} can support any number of items as the implementation uses a  
stream. I think Array>>with:with:with:... maxes out after a handfil of  
values.

Brent



More information about the Squeak-dev mailing list