|
From: Bart V. A. <bva...@ac...> - 2023-04-20 21:06:51
|
On 4/20/23 13:51, Nicholas Nethercote wrote: > On Fri, 21 Apr 2023 at 06:02, Mark Wielaard <ma...@kl... > <mailto:ma...@kl...>> wrote: > I am not a fan, but also not dead against. > > Have you ever worked on a project that uses auto-formatting? Skepticism > followed by enthusiasm is common. Paul, Julian, and I all have used it > on other codebases and are now advocates. I'm using it for Cachegrind's > Python code right now. It makes life easier. I have worked on large projects that use auto-formatting. Despite this I'm strongly opposed against reformatting existing code. No matter how much time is spent on tuning the .clang-format file, there will always be code for which the formatting is made worse by clang-format than the existing code. Bart. |