Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Having 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)


Yay! 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?


Disagree. It’s extremely close to the Django style guide for example. And it’s very close to the style guide we adopted at $work$.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: