Naming and layout suggestions
NL.15
Use spaces sparingly
Reason
Too much space makes the text larger and distracts.
Example, bad
#include < map >
int main(int argc, char * argv [ ])
{
// ...
}
Example
#include <map>
int main(int argc, char* argv[])
{
// ...
}
Note
Some IDEs have their own opinions and add distracting space.
This is a recommendation for when you have no constraints or better ideas. This rule was added after many requests for guidance.
Note
We value well-placed whitespace as a significant help for readability. Just don't overdo it.