Click here to Skip to main content
14,600,326 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: Where Is IntelliSense For "goto" statements? Pin
PIEBALDconsult10-Jul-10 11:44
professionalPIEBALDconsult10-Jul-10 11:44 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Richard Blythe10-Jul-10 12:12
MemberRichard Blythe10-Jul-10 12:12 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
PIEBALDconsult10-Jul-10 15:02
professionalPIEBALDconsult10-Jul-10 15:02 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Mycroft Holmes10-Jul-10 13:53
professionalMycroft Holmes10-Jul-10 13:53 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
PIEBALDconsult10-Jul-10 15:05
professionalPIEBALDconsult10-Jul-10 15:05 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Mycroft Holmes10-Jul-10 15:25
professionalMycroft Holmes10-Jul-10 15:25 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Richard Blythe10-Jul-10 16:11
MemberRichard Blythe10-Jul-10 16:11 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Leslie Sanford10-Jul-10 17:09
MemberLeslie Sanford10-Jul-10 17:09 
Richard Blythe wrote:
I've been trying to dig up a good example of me using the "goto" statement.


I haven't used goto's, but my understanding is that they can be helpful in error handling, e.g. goto HandleError. It allows you to write code after such goto statements in such a way that it can assume that no error has occurred, thus simplifying things.

One could argue that this is what exceptions are for. But the same reasoning that says that goto's are bad would seem to apply to exceptions, maybe even more so. Using goto to jump ahead within a function to execute some error handling code would seem less confusing than throwing the control flow completely out of the current context to who knows where.
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Theraot12-Jul-10 17:19
MemberTheraot12-Jul-10 17:19 
AnswerArguably valid goto usage! Pin
Nish Nishant10-Jul-10 18:45
sitebuilderNish Nishant10-Jul-10 18:45 
GeneralRe: Arguably valid goto usage! Pin
cgh197712-Jul-10 6:27
Membercgh197712-Jul-10 6:27 
GeneralRe: Arguably valid goto usage! Pin
Nish Nishant12-Jul-10 8:41
sitebuilderNish Nishant12-Jul-10 8:41 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Mycroft Holmes10-Jul-10 19:31
professionalMycroft Holmes10-Jul-10 19:31 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Richard Blythe12-Jul-10 6:03
MemberRichard Blythe12-Jul-10 6:03 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
englebart12-Jul-10 7:43
professionalenglebart12-Jul-10 7:43 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
harold aptroot11-Jul-10 4:24
Memberharold aptroot11-Jul-10 4:24 
JokeRe: Where Is IntelliSense For "goto" statements? Pin
urbane.tiger12-Jul-10 2:53
Memberurbane.tiger12-Jul-10 2:53 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
glennPattonWork12-Jul-10 6:08
professionalglennPattonWork12-Jul-10 6:08 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
RichardM112-Jul-10 17:00
MemberRichardM112-Jul-10 17:00 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
chrissb12-Jul-10 6:47
Memberchrissb12-Jul-10 6:47 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
englebart12-Jul-10 7:45
professionalenglebart12-Jul-10 7:45 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
chrissb12-Jul-10 9:29
Memberchrissb12-Jul-10 9:29 
GeneralRe: Where Is IntelliSense For "goto" statements? [modified] Pin
Sergelp12-Jul-10 22:53
MemberSergelp12-Jul-10 22:53 
GeneralRe: Where Is IntelliSense For "goto" statements? Pin
Richard Blythe13-Jul-10 5:20
MemberRichard Blythe13-Jul-10 5:20 
AnswerRe: Where Is IntelliSense For "goto" statements? Pin
engchin13-Jul-10 14:59
Memberengchin13-Jul-10 14:59 

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.