allow line break at operators
clp2 at rebertia.com
Mon Aug 15 04:10:42 CEST 2011
On Sun, Aug 14, 2011 at 6:54 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> Seebs wrote:
>> Interesting! I tend to really like the ability to chain methods,
>> on context. I find the side-effect/expression mix pretty normal, so I'm
>> used to it.
> As a rule, chaining method calls risks violating the Law of Demeter. Just
Not in the specific case of fluent interfaces though, which could
have been what Seebach had in mind.
Whether fluent interfaces are a good idea...
More information about the Python-list