steve at pearwood.info
Tue Dec 10 04:36:57 CET 2013
On Fri, 06 Dec 2013 19:20:07 -0800, Dan Stromberg wrote:
> On Fri, Dec 6, 2013 at 6:07 PM, Steven D'Aprano <
> steve+comp.lang.python at pearwood.info> wrote:
>> The beauty of Python is that it is a multi-paradigm language. You can
>> write imperative, procedural, functional, OOP, or pipelining style (and
>> probably more). The bad thing about Python is that if you're reading
>> other people's code you *need* to be familiar with all those styles.
> That's fine. That's appropriate. But I imagine any of these can be
> done with the intention of being more clever than clear.
> BTW, what's pipelining style? Like bash?
Yes, correct. You have a data stream and you pass it through various
filters to process it.
David Beazley has some nice examples of writing pipelining code:
More information about the Python-list