News for hackers. Stuff that matters.
Re:Collaboration sucks by happymellon on Tuesday November 11, 2025 @04:24PM (#45893078)
Have a formatter. There are plently out there that can be part of the compile/build/commit flow, to the point of failing pipelines if the files you changed not match the style.

Let people know if you have a requirement on layout and enforce it. Code review is far too late.

Re:Collaboration sucks by bitexploder on Tuesday November 11, 2025 @04:31PM (#45893177)
Where I work the formatter is the final arbiter of formatting code. If you don't like it, good luck justifying a change and you had better have really thought about it and why your change is good, because thousands of engineers have tried and been defeated for one reason or another :)
Re:Collaboration sucks by happymellon on Wednesday November 12, 2025 @06:25AM (#45898848)
> Where I work the formatter is the final arbiter of formatting code.

And I'm fine with that.

Consistency is key for readability, code is read more than written, legacy code is code that people can't read anymore and want to start again, and most of the changes people want to make aren't standard making it harder for new team members to read the code.

Install Black, Prettier, Spotless, and move on.

Re:Collaboration sucks by bitexploder on Wednesday November 12, 2025 @11:52AM (#45902454)
I like it too. It is reliable, predictable. Removes a common source of opinionated friction.