3 ms·
Having worked in Python for many years, I can tell you that nobody actually writes code that looks like Blacks formatting. It's a major step backward for the P
by mychael 7y ago
Having worked in Python for many years, I can tell you that nobody actually writes code that looks like Blacks formatting.
It's a major step backward for the Python community.
- weberc2 7y agoHaving worked in Python and other languages for many years, I can tell you that 1) this doesn't matter and 2) many of the ways people write Python are much uglier than the conventional formatting in other languages. Most notably: this_is_my_very_long_function_name_and_here_come_the_args(self, foo, bar, baz)
- rayrrr 7y agoYay! This. Where else do we recommend arbitrary indentation levels? Nowhere. So...which is the "foolish consistency" then? Is it consistent indentation rules? Or consistently lining up arguments with function/method opening parentheses?
- jsmeaton 7y agoDisagree. It’s extremely close to the Django style guide for example. And it’s very close to the style guide we adopted at $work$.