3 ms·
At the end, readability depends heavily on habits. You can know that, but you feel it when you work on various codebases with different people / switch teams.
by jraph 5y ago
At the end, readability depends heavily on habits.
You can know that, but you feel it when you work on various codebases with different people / switch teams.
So, yes. Nobody is right or wrong in these topics. Moreover, there are situations where one is clearly better than the other.
If you need to (formally) verify your code, depending on the method, maybe early returns are to be avoided.