Click here to Skip to main content
15,886,199 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Programming peeve of the Day Pin
Mike Hankey11-Mar-21 8:25
mveMike Hankey11-Mar-21 8:25 
GeneralRe: Programming peeve of the Day Pin
User 1505687911-Mar-21 7:57
professionalUser 1505687911-Mar-21 7:57 
GeneralRe: Programming peeve of the Day Pin
W Balboos, GHB11-Mar-21 8:10
W Balboos, GHB11-Mar-21 8:10 
GeneralRe: Programming peeve of the Day Pin
User 1505687911-Mar-21 8:12
professionalUser 1505687911-Mar-21 8:12 
GeneralRe: Programming peeve of the Day Pin
Chris Maunder11-Mar-21 9:56
cofounderChris Maunder11-Mar-21 9:56 
GeneralRe: Programming peeve of the Day Pin
Maximilien11-Mar-21 8:34
Maximilien11-Mar-21 8:34 
GeneralRe: Programming peeve of the Day Pin
#realJSOP11-Mar-21 8:36
mve#realJSOP11-Mar-21 8:36 
GeneralRe: Programming peeve of the Day Pin
Chris Maunder11-Mar-21 10:00
cofounderChris Maunder11-Mar-21 10:00 
Bonus points to JSOP!

I actually like having two exit points at most

1st at the very top if your initial sanity checks on input parameters fail. Get that out of the qay early
2nd at the very end of the routine.
cheers
Chris Maunder

GeneralRe: Programming peeve of the Day Pin
Nelek11-Mar-21 10:20
protectorNelek11-Mar-21 10:20 
GeneralRe: Programming peeve of the Day Pin
Rick York11-Mar-21 11:26
mveRick York11-Mar-21 11:26 
GeneralRe: Programming peeve of the Day Pin
Chris Maunder11-Mar-21 13:53
cofounderChris Maunder11-Mar-21 13:53 
GeneralRe: Programming peeve of the Day Pin
Sander Rossel11-Mar-21 8:42
professionalSander Rossel11-Mar-21 8:42 
GeneralRe: Programming peeve of the Day Pin
User 1505687911-Mar-21 8:53
professionalUser 1505687911-Mar-21 8:53 
GeneralRe: Programming peeve of the Day Pin
rob tillaart11-Mar-21 20:46
rob tillaart11-Mar-21 20:46 
GeneralRe: Programming peeve of the Day Pin
Member 1409260511-Mar-21 22:38
Member 1409260511-Mar-21 22:38 
JokeRe: Programming peeve of the Day Pin
Fueled By Decaff11-Mar-21 22:41
Fueled By Decaff11-Mar-21 22:41 
GeneralRe: Programming peeve of the Day Pin
Chris Maunder12-Mar-21 3:04
cofounderChris Maunder12-Mar-21 3:04 
GeneralRe: Programming peeve of the Day Pin
Wizard of Sleeves11-Mar-21 23:25
Wizard of Sleeves11-Mar-21 23:25 
GeneralRe: Programming peeve of the Day Pin
JohaViss6111-Mar-21 23:44
professionalJohaViss6111-Mar-21 23:44 
GeneralRe: Programming peeve of the Day Pin
BernardIE531712-Mar-21 2:48
BernardIE531712-Mar-21 2:48 
GeneralRe: Programming peeve of the Day Pin
obermd12-Mar-21 3:17
obermd12-Mar-21 3:17 
GeneralRe: Programming peeve of the Day Pin
agolddog12-Mar-21 4:12
agolddog12-Mar-21 4:12 
GeneralRe: Programming peeve of the Day Pin
jmaida12-Mar-21 6:09
jmaida12-Mar-21 6:09 
GeneralRe: Programming peeve of the Day Pin
Gerry Schmitz12-Mar-21 8:28
mveGerry Schmitz12-Mar-21 8:28 
GeneralI never liked writing graphics libraries Pin
honey the codewitch11-Mar-21 6:39
mvahoney the codewitch11-Mar-21 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.