3 ms·
The whole "return in one place and it must be the last line" thing in our coding standards here is just semantic noise - because you still have to set the "gott
by JulianMorrison 9y ago
The whole "return in one place and it must be the last line" thing in our coding standards here is just semantic noise - because you still have to set the "gotta return" flag and repeatedly bypass the subsequent attempts to do stuff. So it still returns up front, even if it doesn't "return" up front. It just has to spend the remaining lines of the method tiptoeing around the fact.