On Sat, Mar 14, 2026 at 06:47:18PM +0800, Kevin J. McCarthy wrote: > Yes, I know... I know... I said I had no intention of doing any kind of > formatting. But this weekend I started looking at clang-format and put > together a config file "roughly" similar to the existing codebase. I > haven't decided for sure I want to do this, but I was hoping to get some > feedback and discussion.
I don't like formatters. From my experience they work most of the time, but are a massive PITA the other times. Especially when you don't control the machine the formatter is running on. Different versions will behave differently or will not accept some options because the version is too old. Even worse when the formatter is part of the CI pipeline. Then I will have to fiddle manually with code to make the version running in CI happy if my local version outputs something different. I would expect volunteer contributors to be motivated enough to submit readable code - in contrast to some corporate environment. Is/Was bad formatting really a problem that warrants the extra effort? I will not go into the details of any formatting here. I already don't like mutt's style, but I also don't care enough. ;-)
