[ANSI-Smalltalk] re: array creation syntax (was: expressing method
signatures)
Craig Latta
craig at netjam.org
Mon Mar 17 21:11:22 GMT 2008
> Defining new language elements is hard. The worst that could happen
> to this project, is to have extremely long threads with no conclusion
> as on the Squeak list.
Indeed, although for what it's worth there's no lingering debate
there on this particular issue[1]. ;)
-C
[1]
Namely, the short form of...
Array with: #foo with: #bar
is...
#(foo bar)
as in Smalltalk-80, and the short form of...
Array with: #foo with: true
is...
{#foo. true}
But I suspect the appropriate standard use of curly brackets
across multiple dialects is a whole other morass. :)
--
Craig Latta
improvisational musical informaticist
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]
More information about the ANSI-Smalltalk
mailing list