Click here to Skip to main content
14,236,939 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralI just used a goto! PinPopular
Super Lloyd20-Jun-19 0:58
memberSuper Lloyd20-Jun-19 0:58 
GeneralRe: I just used a goto! Pin
OriginalGriff20-Jun-19 1:00
protectorOriginalGriff20-Jun-19 1:00 
GeneralRe: I just used a goto! Pin
Super Lloyd20-Jun-19 1:10
memberSuper Lloyd20-Jun-19 1:10 
GeneralRe: I just used a goto! Pin
OriginalGriff20-Jun-19 1:19
protectorOriginalGriff20-Jun-19 1:19 
GeneralRe: I just used a goto! Pin
swampwiz20-Jun-19 3:01
memberswampwiz20-Jun-19 3:01 
GeneralRe: I just used a goto! Pin
lopatir20-Jun-19 3:47
memberlopatir20-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 
OriginalGriff wrote:
teachers who introduce it early should be hung, drawn, and quartered (and I don't mean "well hung", "sketched", and "given an apartment").
My CS teacher introduced them early. However it was more of a "Here is the goto statement, here is how it can go horribly wrong, and that is why you should never use it again... ever. If you do, you will fail whatever assignment it was in." sort of way.

While it was a bit over dramatic, she did follow up with how to better handle branching/looping logic without them.
GeneralRe: I just used a goto! Pin
Kirk 1038982121-Jun-19 6:47
memberKirk 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
memberSuper Lloyd20-Jun-19 1:08 
GeneralRe: I just used a goto! Pin
Kevin McFarlane20-Jun-19 1:26
memberKevin McFarlane20-Jun-19 1:26 
GeneralRe: I just used a goto! PinPopular
DRHuff20-Jun-19 1:19
memberDRHuff20-Jun-19 1:19 
GeneralRe: I just used a goto! Pin
Super Lloyd20-Jun-19 1:39
memberSuper 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
memberswampwiz20-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
memberPeejayAdams20-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
memberPeejayAdams20-Jun-19 2:35 
GeneralRe: I just used a goto! Pin
Fueled By Caffeine20-Jun-19 21:13
memberFueled By Caffeine20-Jun-19 21:13 
GeneralRe: I just used a goto! Pin
theoldfool20-Jun-19 1:33
professionaltheoldfool20-Jun-19 1:33 

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.