[self-interest] Performance figures interesting
Michael Latta
lattam at mac.com
Wed May 10 16:08:51 UTC 2006
Thanks for the follow-up. I will look into it deeper. The examples I saw
on the web site all looked more rigid as in for(I,1,10,sfuff with i) and
appeared to have a more lisp like functional syntax.
Michael
-----Original Message-----
From: self-interest at yahoogroups.com [mailto:self-interest at yahoogroups.com]
On Behalf Of Steve Dekorte
Sent: Tuesday, May 09, 2006 10:53 PM
To: self-interest at yahoogroups.com
Subject: Re: [self-interest] Performance figures interesting
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
Yahoo! Groups Links
More information about the Self-interest
mailing list