RE: Revisiting "fixing parameters"

> That's definitely interesting. One question that I have immediately is
> which end of the connection specifies inheritance.
> 
> Does the pipeline specify that it's parameters are inherited down or do
> the steps specify that they inherit from above? Or both?

I was thinking about that, too. I ended up with inheriting down, but both ways might have their value:

- Inherit down: allows you to wrap a bunch of existing steps with a pipeline and make sure that the right things get automagically passed to those steps. 

- Inherit from above: allows for creating steps that auto-bind to the parent scope if needed.

As far as usability goes, I think that "inherit down" gives the pipeline author more control over the magic and less surprises than "inherit from above". My impression is that using 3rd party steps that rely on "inherit from above" might be akin to trying to walk through a mine field.

Regards,
Vojtech


--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech

Received on Thursday, 6 December 2012 15:13:58 UTC