Click here to Skip to main content
15,895,817 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
kalberts24-Jun-19 2:09
kalberts24-Jun-19 2:09 
GeneralRe: I just used a goto! Pin
TNCaver21-Jun-19 4:03
TNCaver21-Jun-19 4:03 
GeneralRe: I just used a goto! Pin
sparklesalt21-Jun-19 4:33
sparklesalt21-Jun-19 4:33 
GeneralRe: I just used a goto! Pin
Gerardo Orozco21-Jun-19 4:34
Gerardo Orozco21-Jun-19 4:34 
GeneralRe: I just used a goto! Pin
englebart21-Jun-19 4:52
professionalenglebart21-Jun-19 4:52 
GeneralRe: I just used a goto! Pin
Super Lloyd21-Jun-19 5:27
Super Lloyd21-Jun-19 5:27 
GeneralRe: I just used a goto! Pin
sasadler21-Jun-19 6:28
sasadler21-Jun-19 6:28 
GeneralRe: I just used a goto! Pin
Michael Breeden21-Jun-19 8:29
Michael Breeden21-Jun-19 8:29 
As others have said, it's largely what Try Catch does. It has been pointed out though that using break and return in a method is really the same thing in a way. I've used on goto in my code, but based on that last sentence I plan to use them regularly though in the future, just always within a method. Instead of a catch -> return -> handle error, use a catch -> goto error handling at end of method -> end of method returns.

GeneralRe: I just used a goto! Pin
gggustafson21-Jun-19 10:12
mvagggustafson21-Jun-19 10:12 
GeneralRe: I just used a goto! Pin
Member 916705723-Jun-19 23:05
Member 916705723-Jun-19 23:05 
GeneralRe: I just used a goto! Pin
Matt McGuire24-Jun-19 7:18
professionalMatt McGuire24-Jun-19 7:18 
GeneralCCC 20/6 Pin
PeejayAdams19-Jun-19 22:12
PeejayAdams19-Jun-19 22:12 
GeneralRe: CCC 20/6 Pin
pkfox19-Jun-19 23:30
professionalpkfox19-Jun-19 23:30 
GeneralRe: CCC 20/6 - SOLVED Pin
PeejayAdams19-Jun-19 23:35
PeejayAdams19-Jun-19 23:35 
GeneralRe: CCC 20/6 - SOLVED Pin
pkfox19-Jun-19 23:38
professionalpkfox19-Jun-19 23:38 
GeneralBug Of The Year, aka Booty! :D PinPopular
Super Lloyd19-Jun-19 16:40
Super Lloyd19-Jun-19 16:40 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Brisingr Aerowing19-Jun-19 17:24
professionalBrisingr Aerowing19-Jun-19 17:24 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Johnny J.19-Jun-19 19:30
professionalJohnny J.19-Jun-19 19:30 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
the goat in your machine19-Jun-19 19:41
the goat in your machine19-Jun-19 19:41 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
dan!sh 19-Jun-19 23:24
professional dan!sh 19-Jun-19 23:24 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Super Lloyd20-Jun-19 0:09
Super Lloyd20-Jun-19 0:09 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Sander Rossel20-Jun-19 1:41
professionalSander Rossel20-Jun-19 1:41 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
Super Lloyd20-Jun-19 2:34
Super Lloyd20-Jun-19 2:34 
GeneralRe: Bug Of The Year, aka Booty! :D Pin
obermd21-Jun-19 3:36
obermd21-Jun-19 3:36 
GeneralRe: Bug Of The Year, aka Booty! :D PinPopular
Chris Maunder20-Jun-19 8:10
cofounderChris Maunder20-Jun-19 8:10 

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.