Click here to Skip to main content
15,900,439 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: I just used a goto! Pin
swampwiz20-Jun-19 3:01
swampwiz20-Jun-19 3:01 
GeneralRe: I just used a goto! Pin
lopatir20-Jun-19 3:47
lopatir20-Jun-19 3:47 
GeneralRe: I just used a goto! Pin
Mike Winiberg20-Jun-19 20:29
professionalMike Winiberg20-Jun-19 20:29 
GeneralRe: I just used a goto! Pin
RJOberg20-Jun-19 3:31
professionalRJOberg20-Jun-19 3:31 
GeneralRe: I just used a goto! Pin
Kirk 1038982121-Jun-19 6:47
Kirk 1038982121-Jun-19 6:47 
GeneralRe: I just used a goto! Pin
GKP199220-Jun-19 1:01
professionalGKP199220-Jun-19 1:01 
GeneralRe: I just used a goto! Pin
Super Lloyd20-Jun-19 1:08
Super Lloyd20-Jun-19 1:08 
GeneralRe: I just used a goto! Pin
Kevin McFarlane20-Jun-19 1:26
Kevin McFarlane20-Jun-19 1:26 
A lot of these prohibitions are in reality "almost never do such and such." But at the end of the day, other things being equal, it's all about clarity and readability and there will be cases where it's fine. The language directive does exist after all (when it does).

Years ago I recall reading a section in the book Code Complete by Steve McConnell where he presented some code using goto and stats showed that almost no developers were able to rewrite it correctly without the goto.
Kevin

GeneralRe: I just used a goto! PinPopular
DRHuff20-Jun-19 1:19
DRHuff20-Jun-19 1:19 
GeneralRe: I just used a goto! Pin
Super Lloyd20-Jun-19 1:39
Super Lloyd20-Jun-19 1:39 
GeneralRe: I just used a goto! Pin
raddevus20-Jun-19 2:00
mvaraddevus20-Jun-19 2:00 
GeneralRe: I just used a goto! Pin
swampwiz20-Jun-19 3:05
swampwiz20-Jun-19 3:05 
GeneralRe: I just used a goto! Pin
Rick York20-Jun-19 4:40
mveRick York20-Jun-19 4:40 
GeneralRe: I just used a goto! Pin
raddevus20-Jun-19 5:31
mvaraddevus20-Jun-19 5:31 
GeneralRe: I just used a goto! Pin
Nelek20-Jun-19 4:59
protectorNelek20-Jun-19 4:59 
GeneralRe: I just used a goto! Pin
David O'Neil20-Jun-19 7:34
professionalDavid O'Neil20-Jun-19 7:34 
GeneralRe: I just used a goto! Pin
PeejayAdams20-Jun-19 1:25
PeejayAdams20-Jun-19 1:25 
GeneralRe: I just used a goto! Pin
Sander Rossel20-Jun-19 1:34
professionalSander Rossel20-Jun-19 1:34 
GeneralRe: I just used a goto! Pin
PeejayAdams20-Jun-19 2:35
PeejayAdams20-Jun-19 2:35 
GeneralRe: I just used a goto! Pin
Fueled By Decaff20-Jun-19 21:13
Fueled By Decaff20-Jun-19 21:13 
GeneralRe: I just used a goto! Pin
theoldfool20-Jun-19 1:33
professionaltheoldfool20-Jun-19 1:33 
GeneralRe: I just used a goto! Pin
musefan20-Jun-19 1:51
musefan20-Jun-19 1:51 
GeneralRe: I just used a goto! Pin
Super Lloyd20-Jun-19 3:58
Super Lloyd20-Jun-19 3:58 
GeneralRe: I just used a goto! Pin
glennPattonWork320-Jun-19 3:31
professionalglennPattonWork320-Jun-19 3:31 
GeneralRe: I just used a goto! Pin
gardnerp20-Jun-19 3:58
gardnerp20-Jun-19 3:58 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   487 votes