Click here to Skip to main content
15,913,055 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: goto statement Pin
vl212-Nov-13 0:41
vl212-Nov-13 0:41 
GeneralRe: goto statement Pin
Stefan_Lang12-Nov-13 1:36
Stefan_Lang12-Nov-13 1:36 
GeneralRe: goto statement Pin
vl212-Nov-13 1:43
vl212-Nov-13 1:43 
GeneralRe: goto statement Pin
Bill_Hallahan12-Nov-13 13:46
Bill_Hallahan12-Nov-13 13:46 
GeneralRe: goto statement Pin
Fran Porretto11-Nov-13 0:54
Fran Porretto11-Nov-13 0:54 
GeneralRe: goto statement Pin
Stefan_Lang11-Nov-13 1:48
Stefan_Lang11-Nov-13 1:48 
GeneralRe: goto statement Pin
Fran Porretto11-Nov-13 2:06
Fran Porretto11-Nov-13 2:06 
Generalgoto vs. exception Pin
Member 1039410411-Nov-13 4:15
Member 1039410411-Nov-13 4:15 
Yes, I can agree that the goto statement can be confusing and I've never found a good use for it. However what is the difference between a goto and a exceptions? Exceptions are only suppose to be used for things that should never happen. Most of the time that I've seen them used for all error-handling methods. (E.G. Invalid user input) However I find throwing exceptions for this purpose, even with the performance hit, useful. It keeps the code cleaner and shows the next guy what I expect to happen. Just wondering what you thought?

P.S. I once worked in a 4k memory space divided into 2 sections. The only way to get to the second memory space was with a goto statement.
GeneralRe: goto statement Pin
gggustafson11-Nov-13 6:27
mvagggustafson11-Nov-13 6:27 
GeneralRe: goto statement Pin
vl211-Nov-13 7:24
vl211-Nov-13 7:24 
GeneralRe: goto statement Pin
werinus11-Nov-13 20:46
werinus11-Nov-13 20:46 
GeneralRe: goto statement Pin
vl212-Nov-13 0:37
vl212-Nov-13 0:37 
GeneralRe: goto statement Pin
Stefan_Lang12-Nov-13 1:37
Stefan_Lang12-Nov-13 1:37 
GeneralRe: goto statement Pin
vl212-Nov-13 1:41
vl212-Nov-13 1:41 
GeneralRe: goto statement Pin
Bill_Hallahan12-Nov-13 13:48
Bill_Hallahan12-Nov-13 13:48 
GeneralRe: goto statement Pin
Al Chak13-Nov-13 4:14
Al Chak13-Nov-13 4:14 
GeneralRe: goto statement Pin
Al Chak13-Nov-13 4:11
Al Chak13-Nov-13 4:11 
GeneralRe: goto statement Pin
Member 460889816-Nov-13 1:49
Member 460889816-Nov-13 1:49 
GeneralRe: goto statement Pin
Tarek Elqusi16-Nov-13 19:37
professionalTarek Elqusi16-Nov-13 19:37 
GeneralMy Saturday PinPopular
Michael Martin9-Nov-13 16:47
professionalMichael Martin9-Nov-13 16:47 
GeneralRe: My Saturday Pin
Septimus Hedgehog9-Nov-13 22:06
Septimus Hedgehog9-Nov-13 22:06 
GeneralRe: My Saturday Pin
OriginalGriff9-Nov-13 23:59
mveOriginalGriff9-Nov-13 23:59 
GeneralRe: My Saturday Pin
CPallini10-Nov-13 6:20
mveCPallini10-Nov-13 6:20 
GeneralRe: My Saturday Pin
_Maxxx_10-Nov-13 14:39
professional_Maxxx_10-Nov-13 14:39 
QuestionWool lined Coat Pin
Marco Bertschi9-Nov-13 8:01
protectorMarco Bertschi9-Nov-13 8:01 

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.