Re: Multiple returns vs. Single exit
Brian Maso <[email protected]> Fri, 28 Dec 2007 21:17:04 +0000
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <1020838733-1198876631-cardhu_decombobulator_blackberry.rim.net-239333751-@bxe009.bisx.prod.on.blackberry> |
I think the important question for you to answer is: what is your company's stock symbol, so we can sell short! A standard like that is the closest your sr. Devs can come to "marking" the codebase, since they can't actually piss on it. If you're up to it, I advise quietly going along with the standard, and backstabbing the idiot(s) who instituted it at the first solid oppotunity. Brian Maso Sent via BlackBerry by AT&T -----Original Message----- From: Mark Gorokhov <[email protected]> Date: Fri, 28 Dec 2007 15:47:14 To:[email protected] Subject: Re: [ADVANCED-JAVA] Multiple returns vs. Single exit 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