in reply to A matter of style
Purists say there should only be one entry and one exit and anything else is obfu. What do you say?
It's a common idiom in many languages - so common it's listed in Fowler's refactoring book (Replace Nested Conditional with Guard Clause.)
It's a nice thick book - so you can always "re-educate" any purists you may find with it (apply swiftly to back of head :-)
|
---|