GNU style Review
5 2
Review of GNU style powered by the Slant community.
Like the Allman and Whitesmiths styles, GNU style puts braces on a line by themselves, indented by two spaces, except when opening a function definition, where they are not indented. In either case, the contained code is indented by two spaces from the braces.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Comments are written in English
The GNU coding standard requires that programmers write their comments in English because English is the most widely known language by programmers all over the world. This makes programs written in GNU style easy to understand internationally.
Cons
Con Harder to understand which statement the ending brace belongs to
Since braces are in a newline and indented by two spaces, it may be hard to understand what statement the ending brace belongs to.