top | item 15984637 (no title) ApostleMatthew | 8 years ago I'm relatively new to C++, is this style common? I refer to, for example, putting the return of function on a separate line from the name and each of the passed parameters on a separate line as well. discuss order hn newest perfmode|8 years ago For C++, I subscribe to Google style. It addresses this.https://google.github.io/styleguide/cppguide.html#Function_D... cyberpunk0|8 years ago Geez how does anyone remember all of that... load replies (2) jdright|8 years ago There is no common style in C or C++. This is a free for all area, even with clang format.
perfmode|8 years ago For C++, I subscribe to Google style. It addresses this.https://google.github.io/styleguide/cppguide.html#Function_D... cyberpunk0|8 years ago Geez how does anyone remember all of that... load replies (2)
jdright|8 years ago There is no common style in C or C++. This is a free for all area, even with clang format.
perfmode|8 years ago
https://google.github.io/styleguide/cppguide.html#Function_D...
cyberpunk0|8 years ago
jdright|8 years ago