Re:Black: An uncompromising Python code formatter
by curtis on Friday May 25, 2018 @01:32PM
(#17156031)
It takes me a lot longer to write the code than it does to format it for readability.
I'm inclined to think that the reason that auto-formatters are popular is not because manually formatting code is hard, but simply to head off nitpicking in code review.
I think there's a better solution to the "style nitpicking in code review" problem: Just don't do it.
If you're nitpicking style during a code review, chances are good that you are not looking for real problems.
Are you consistent with your formatting rules? I'd be interested to know how much time you spend formatting your code vs ceding control to an auto-formatter.