[CentralOH] Is chaining of methods good style?

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Wed Dec 10 22:27:02 CET 2014


On Wed, 10 Dec 2014 15:11:44 -0500, jep200404 at columbus.rr.com wrote:

> is chaining of methods good style?

>     Watch 
>     Brandon Rhodes' "A Python Æsthetic: Beauty and Why I Python" presentation[2]

from that:

No one who read his review ever seems to have forgotten the lesson:

    Simple filters that can
    be arbitrarily chained are 
    more easily re-used, and more
    robust, than almost any 
    other kind of code

To answer the original question:

    Yes!



























Watch more of Brandon's presentations.


More information about the CentralOH mailing list