On Mar 19, 2015, at 8:59 AM, wernerfb <[email protected]> wrote:
> correct mixed indent
As a general style convention, Dabo always uses 2 levels of indentation on
continued lines. Visual indentation is, IMHO, ugly and un-Pythonic. E.g.:
some_object.method_with_a_very_long_name(foo,
bar)
some_object.short_name(foo,
bar)
In both of the above, the lines with 'bar' are semantically identical, but
indented very differently. This is contrary to the spirit of Python, where
indentation conveys semantic meaning. I strongly prefer the convention of
indenting 2 levels for continued lines, as in:
some_object.method_with_a_very_long_name(foo,
bar)
some_object.short_name(foo,
bar)
-- Ed Leafe
--- StripMime Report -- processed MIME parts ---
multipart/signed
text/plain (text body -- kept)
application/pgp-signature
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]