Am I too old to code ? Look at this link : http://confluence.jetbrains.com/display/ReSharper/Invert+'if'+to+reduce+nesting
When I was a developer 'student' (way back when), we were thaught that every proc / method / piece of code should have only one entry point and one exit point.
However, looking at the example given, multiple exit points should be a norm ?!?
I feel it's rather easy to miss a return somewhere in the middle of a routine and could lead to undesired results.
Any one care to comment ?