Nathan Hartman:
> But, if there's going to be a discussion about brace styles, I would vote
> for K&R's One True Brace Style. :-)

I agree that K&R is the way to go. But. Switching to Allman is just removing
2 spaces on lines where bracket is. Change is trivial and will not mess with
the history.

In theory going to K&R is simple too. Basically same check as with Allman,
but instead of removing 2 spaces you remove all spaces + previous new line
character. But this will impact history, as all if/for/while will have an
altered line where check is happening.

tl;dr: K&R is more compact, but will mess with history. Allman will be just
as vertically wide as GNU, but will leave history intact where it matters.

I am down to any change that removes that awful GNU indent :)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to