Y
Hacker News
new
|
ask
|
show
|
jobs
by
perfmode
3104 days ago
For C++, I subscribe to Google style. It addresses this.
https://google.github.io/styleguide/cppguide.html#Function_D...
1 comments
cyberpunk0
3104 days ago
Geez how does anyone remember all of that...
link
ZeroCool2u
3104 days ago
Your linter remembers for you.
link
CobrastanJorji
3104 days ago
Indeed, 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.
link
perfmode
3104 days ago
That’s a core challenge of writing code in a language as large and complicated and dangerous and rewarding as cpp.
link