pipe

Joshua Gargus schwa at fastmail.us
Sat Aug 25 17:05:44 UTC 2007


On Aug 25, 2007, at 6:17 AM, Fabio Filasieno wrote:

>
> obj message1: param
>      | message2:param
>      | message1: param
>      | message2:param
>      | message1: param
>      | message2:param
>      | message1: param
>      | message2:param
>      | message1: param
>      | message2:param
>      | message1: param
>      | message2:param
>
> now some mix and match ...
>
> obj | send
>        | left: a right:b
>        | send | send | send
>        | left: a right:b
>        | message
>
> The pipe is needed to support a pipe&filter style of programming.  
> That perfectly works with Smalltalk syntax, and truly
> opens up a better way of doing functional transformations.
>

This all seems very hypothetical.  In what problem domain would you  
end up writing code like this?  I've never written such code myself,  
and I haven't seen anyone else write such code either.  Maybe that's  
just because people shy away from it because of all of the  
parentheses, but I can't accept that without a real code example to  
support it.

Josh



More information about the Squeak-dev mailing list