Naming and layout suggestions
NL.25
Don't use `void` as an argument type
Reason
It's verbose and only needed where C compatibility matters.
Example
void f(void); // bad
void g(); // better
Note
Even Dennis Ritchie deemed void f(void) an abomination. You can make an argument for that abomination in C when function prototypes were rare so that banning:
int f();
f(1, 2, "weird but valid C89"); // hope that f() is defined int f(a, b, c) char* c; { /* ... */ }
would have caused major problems, but not in the 21st century and in C++.