pipe
Igor Stasenko
siguctua at gmail.com
Sat Aug 25 02:39:17 UTC 2007
> > I need the `|` to avoid parenthesis, and weird hacks ...
>
> Like what?
>
> What do you mean by pipes? Are you refering to some kind of
> streaming like in bash where output can be generated from one
> process and input to another with finite memory? If so, I am not
> sure that is possible in general; objects are not always
> serializable.
>
> What kind of use case do you have in mind?
>
let me elaborate:
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
> --
> Matthew Fulmer -- http://mtfulmer.wordpress.com/
> Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
>
>
--
Best regards,
Igor Stasenko AKA sig.
More information about the Squeak-dev
mailing list
|