You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(from the old issues page)
Luis46coco commented on Apr 13, 2017
C ++ writing format and user display formats
I think we should have a common site to share, discuss and reach agreements on internal and external formats, for example
I do not know if it is better (* .bin, * .dll) or with ";" Instead of "," and if you always add a space later or not, or use uppercase or lowercase letters
So far the format seems to be, lowercase and space after ","
I do not know if it's better, ";"
With respect to the c ++ format it seems a little long
command
{
Break;
}
I prefer
Command {
Break;
}
Or for a single instruction inside, use:
Command
Break;
The text was updated successfully, but these errors were encountered:
When modifying existing code best to adopt the style that is already there. Unix indent is a good tool for setting style. For new routines I prefer K&R ( indent -kr) or Linux (indent -linux)
(from the old issues page)
Luis46coco commented on Apr 13, 2017
C ++ writing format and user display formats
I think we should have a common site to share, discuss and reach agreements on internal and external formats, for example
I do not know if it is better (* .bin, * .dll) or with ";" Instead of "," and if you always add a space later or not, or use uppercase or lowercase letters
So far the format seems to be, lowercase and space after ","
I do not know if it's better, ";"
With respect to the c ++ format it seems a little long
command
{
Break;
}
I prefer
Command {
Break;
}
Or for a single instruction inside, use:
Command
Break;
The text was updated successfully, but these errors were encountered: