News for hackers. Stuff that matters.
Re:Formatting code should be unnecessary by IshKebab on Monday September 08, 2025 @07:05AM (#45166857)
clang-format is probably the worst of the autoformatters. They tried to get fancy with a sort of global optimisation algorithm but in practice it's buggier and uglier than the classic Prettier algorithm which is elegant and generally works very well. It's also way less diff friendly.

I wouldn't draw any conclusions about autoformatters from clang-format.

There are no comments on this comment yet.