pipe
Blake
blake at kingdomrpg.com
Sat Aug 25 02:43:14 UTC 2007
On Fri, 24 Aug 2007 19:39:17 -0700, Igor Stasenko <siguctua at gmail.com>
wrote:
> a message1 | message2
>
> is equal to:
>
> a message1 message2
>
> and:
>
> a message1: param | message2: param2
>
> is equeal to:
>
> (a message1: param) message2: param2
>
> and as you can see writing code with so-called 'pipes' makes code much
> cleaner
Huh. I don't see it. The first one...okay, I guess, maybe.
But the parens in the ST in the second one are almost a graphic
representation of the object being created, to which the message2 is being
passed.
More information about the Squeak-dev
mailing list
|