Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
There are certain aesthetic choices that just boil down to personal style. For instance, where the open brace for a class definition should go:
class Logger {
...
};
class Logger
{
...
};
If one of these styles is chosen over the other, it doesn’t substantially affect the readability of the codebase. But if these two styles are mixed throughout the code, it does affect the readability.
We’ve worked on many projects where we felt like the team was using the “wrong” style, but we followed the project conventions because we knew that consistency is far more important.
Consistent style is more important than the “right” style.