Re: Multiple returns vs. Single exit

Mark Gorokhov <[email protected]> Fri, 28 Dec 2007 15:47:14 -0500
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <6BD989BB73712F41B1EDD1B8A32EA4C3087E33E7@EXCHANGEVS1.comtechtel.com>
Dmitry Beransky wrote:
> 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.

There is no "either-or" in our coding standards. We must use a single
return, no Hungarian notation (but "m_" is mandated), and so on.

We are reworking old code to meet our new coding standards.

Mark G.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com