News for hackers. Stuff that matters.
Re:Black, the uncompromising Python code formatter, is stable by lolc on Saturday January 29, 2022 @08:33PM (#30132798)
I once came in on a project where one dev used "func( arg )" and the other used "func (arg)". They would reformat each other's lines when they changed something, so the diff had a lot of whitespace changes. The two were not on speaking terms any longer, so I was tasked with cleaning up the mess.

First step was to run an autoformatter. I used stock presets so neither of the two would think the other was favoured in the cleanup.

Re:Black, the uncompromising Python code formatter, is stable by paiute on Saturday January 29, 2022 @11:23PM (#30134005)
If I worked there I would always do func( arg) or func(arg ) just because.
Re:Black, the uncompromising Python code formatter, is stable by onphonenow on Monday January 31, 2022 @12:37AM (#30144946)
Haha. Brilliant :) The extra spaces look so weird to me, but yeah, folks have strong opinions.
Re:Black, the uncompromising Python code formatter, is stable by hnarayanan on Sunday January 30, 2022 @03:07AM (#30135018)
Chaotic evil