>
>     - 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
-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to     : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to