C/C++ rule of the week Posted by cppdesign on Friday July 31, 2015 @11:41AM from the codergears.com dept. http://codergears.com/QACenter/index.php?qa=323&qa_1=if-you-can-exit-a-function-early-you-should ( 1 comment | 3 points | on HN )
which is fine if you don't have resources that need to be cleaned on exit and you can't keep them in objects that just fall off the stack.