Re: Multiple returns vs. Single exit
Dmitry Beransky <[email protected]> Fri, 28 Dec 2007 12:00:33 -0800
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
Does it have to be an "either-or" decision? Whichever approach makes the code more readable in a given situation is the one you should use. Dmitry On Dec 28, 2007 11:52 AM, Mark Gorokhov <[email protected]> wrote: > Our company has a coding standard which prohibits multiple returns from > a method. I think that mandating to use a single exit from a method > makes code less readable but I have to follow this standard. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com