On Mon, Apr 11, 2016 at 10:42:41AM -0400, Donald Sharp wrote:
> I agree, the GNU coding style is a bit counter-intuitive.  Not sure that I
> care a whole lot though.  I'll try to stick to the style in the current
> file I am working on.
> 
> About the only thing I do care about is the use of curly-braces, and
> frankly I don't think I'm ever going to convince anyone to change :).  The
> style of not always 100% of the time using curly braces annoys me and I
> think it leads to easily avoidable bugs( ala the ripd bug I fixed on friday
> night is a great example ).

Yes that is the only thing I dislike about the linux kernel style:
Curly braces are optional and in fact discouraged when not required.
This causes bugs and I hate it.  Just make them mandetory at all times
and you avoid stupid hard to spot bugs.

-- 
Len Sorensen

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to