[self-interest] Performance figures interesting

Steve Dekorte steve at dekorte.com
Wed May 10 05:53:15 UTC 2006


On 9 May 2006, at 09:11 pm, Michael Latta wrote:
> Io looks interesting, but misses a few things I really like in 
> Smalltalk
> (user defined control structures using blocks primarily).  Having 
> compact
> syntax for things like collect: detect: and to:by:do: or any I choose 
> to
> make up for my application is very high on my list.  I can use 
> Smalltalk to
> build a domain specific language by just modeling it.

I don't want to turn the discussion to something other than Self, but 
Io supports blocks and those uses of them as well as even more compact 
forms of doing the same thing. For example:

	employees collect: [ :each | each salary ]

in Io can be expressed as:

	employees map(each, each salary)

or simply as:

	employees map(salary)

Cheers,
-- Steve




More information about the Self-interest mailing list