“No-else-after-return” considered harmful
(Update below) At the time of writing this, the Mozilla Coding Style guidelines have this recommendation under “General C/C++ Practices”: Don’t put an else right after a return. Delete the else, it’s unnecessary and increases indentation level. I can appreciate this in some circumstances, such as when checking for an error case early in a … Continue reading “No-else-after-return” considered harmful
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed