Liste des Groupes | Revenir à cl c |
On 2025-02-26, Ar Rakin <rakinar2@onesoftnet.eu.org> wrote:Sorry, I should have showed this difference in my original post. I like>
the GNU style except the weird indentation before the braces of control
statements. Not sure why they choose to indent that way.
>
The GNU style without indent before braces looks nice to me.
Without the weird brace indent, it has nothing to do with GNU any more; it's
just two-space indentation, where opening braces are on their own line instead
of being "cuddled" into the previous line, which is very common:
>
if (flag)
{
switch (state)
{
case 42:
{
state = 73;
break;
}
}
}
else
{
statement;
}
Les messages affichés proviennent d'usenet.