One general comment: Right now, we have all sorts of indentation in .py
files (mainly two spaces, four spaces, and tabs).

IMO we should use the same indentation rule as in C++ files: tabs for
logical indentation, and spaces for alignment, e.g.


def xyz(abc):
        if (abc == 0 and some_very_long_if_test_that_fills_this_line_alone and
            xxx):
                bla()

Any decent editor allows to set the visual appereance of tabs, so with the
indentation above we can both accomodate "indent minimalists" like you and
Andre and those who prefer wider tabs.

I don't propose to change all existing files at once, but please use this
rule for new files.


Georg

Reply via email to