Re: pipeline or declare-step?

"Dave Pawson" <dave.pawson@gmail.com> writes:

> When should we choose one over the other?

If you happen to want a pipeline that:

1. Has a single non-sequence input
2. Has a single non-sequence output
3. And allows parameters

then p:pipeline is a convenient syntactic shorthand for the
p:declare-step that would provide the same features.

We expect this to be a common case, so I'd probably suggest that most
folks start with p:pipeline most of the time. As it happens, I prefer to
be more explicit so I prefer p:declare-step. But I'm weird.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The delivering of knowledge in distinct
http://nwalsh.com/            | and disjointed aphorisms doth leave the
                              | wit of man more free to turn and toss,
                              | and to make use of that which is so
                              | delivered to more several purposes and
                              | applications.--Sir Francis Bacon

Received on Saturday, 13 December 2008 21:47:39 UTC