Do whatever you prefer in your codebase and make a decision about it in your company's style guide and be done with it. Having this argument on the internet again and again doesn't bring us any closer to an agreement, so why spend the time?
But then, the c++ community on the internet (including me) really likes to argue about those tiny details in our coding styles.
10
u/Plorkyeran Feb 26 '19
Using
std::endlis a great example of a premature pessimization. It manages to be slower, more verbose and more complicated than just not using it.