4 ms·
For C++, I subscribe to Google style. It addresses this. https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions https://google
by perfmode 9y ago
For C++, I subscribe to Google style. It addresses this.
https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions https://google.github.io/styleguide/cppguide.html#Function_D...
- cyberpunk0 9y agoGeez how does anyone remember all of that...
- ZeroCool2u 9y agoYour linter remembers for you.
- CobrastanJorji 9y agoIndeed, the very best kind of coding convention is the automated and enforced kind. Prevents a lot of arguing, leaving more time to argue about the code's actual contents.
- perfmode 9y agoThat’s a core challenge of writing code in a language as large and complicated and dangerous and rewarding as cpp.