elementary-dev-community team mailing list archive
-
elementary-dev-community team
-
Mailing list archive
-
Message #01147
Re: Bikeshedding about parentheses (Was: Re: Coding Style parentheses exception)
>
> - A commit hook which formats source code on commit, is the ONLY way to
> have a followed formatting policy.
>
> Any other approach will result in nothing but bikeshedding, or worse, flame
> wars.
>
I don't believe in automated code reformatting personally, despite all my
love for scripting. However sophisticated the program is, it doesn't
understand what the original author meant, so it will break the formatting.
A lint-like static analyzer invoked on compiling the app looks more viable
to me.
--
Sergey "Shnatsel" Davidoff
OS architect @ elementary
References