Click here to Skip to main content
14,362,338 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: for those of you purists that don't like break, continue and goto Pin
obermd16-Sep-19 5:17
memberobermd16-Sep-19 5:17 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch16-Sep-19 5:51
memberhoney the codewitch16-Sep-19 5:51 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
W Balboos16-Sep-19 5:31
mveW Balboos16-Sep-19 5:31 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch16-Sep-19 6:20
memberhoney the codewitch16-Sep-19 6:20 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
SeattleC++16-Sep-19 5:57
memberSeattleC++16-Sep-19 5:57 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch16-Sep-19 6:18
memberhoney the codewitch16-Sep-19 6:18 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
AnotherKen16-Sep-19 7:31
professionalAnotherKen16-Sep-19 7:31 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch16-Sep-19 7:38
memberhoney the codewitch16-Sep-19 7:38 
i use gotos for generated state machine code so the code will look exactly like the graphs generated by graphviz. it makes the code more understandable.

like this snippet, implementing q1 of the graph:
q1:
    if((pc.Current>='0'&& pc.Current<='9')||
        (pc.Current>='A'&& pc.Current<='Z')||
        (pc.Current=='_')||
        (pc.Current>='a'&& pc.Current<='z')) {
        sb.Append((char)pc.Current);
        pc.Advance();
        goto q1;
    }
    return new System.Collections.Generic.KeyValuePair<System.String,string>("id",sb.ToString());


from (A Regular Expression Engine in C#[^])

there's supposed to be a picture at the link but it's no longer showing up for me. maybe it will for you.

in any case, there's a time and a place for everything.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: for those of you purists that don't like break, continue and goto Pin
AnotherKen16-Sep-19 9:00
professionalAnotherKen16-Sep-19 9:00 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch16-Sep-19 9:09
memberhoney the codewitch16-Sep-19 9:09 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
zezba900016-Sep-19 11:21
memberzezba900016-Sep-19 11:21 
GeneralI don't like java. Pin
honey the codewitch14-Sep-19 4:35
memberhoney the codewitch14-Sep-19 4:35 
GeneralRe: I don't like java. Pin
Nand3214-Sep-19 5:37
memberNand3214-Sep-19 5:37 
GeneralRe: I don't like java. Pin
honey the codewitch14-Sep-19 5:54
memberhoney the codewitch14-Sep-19 5:54 
GeneralRe: I don't like java. Pin
Sander Rossel14-Sep-19 6:00
professionalSander Rossel14-Sep-19 6:00 
GeneralRe: I don't like java. Pin
honey the codewitch14-Sep-19 6:06
memberhoney the codewitch14-Sep-19 6:06 
GeneralRe: I don't like java. Pin
Jörgen Andersson14-Sep-19 9:55
protectorJörgen Andersson14-Sep-19 9:55 
GeneralRe: I don't like java. Pin
honey the codewitch14-Sep-19 13:50
memberhoney the codewitch14-Sep-19 13:50 
GeneralRe: I don't like java. Pin
Amarnath S14-Sep-19 6:10
professionalAmarnath S14-Sep-19 6:10 
GeneralRe: I don't like java. Pin
honey the codewitch14-Sep-19 6:15
memberhoney the codewitch14-Sep-19 6:15 
GeneralRe: I don't like java. Pin
Rick York14-Sep-19 7:02
mveRick York14-Sep-19 7:02 
GeneralRe: I don't like java. Pin
honey the codewitch14-Sep-19 7:03
memberhoney the codewitch14-Sep-19 7:03 
GeneralRe: I don't like java. Pin
Brisingr Aerowing14-Sep-19 15:29
professionalBrisingr Aerowing14-Sep-19 15:29 
GeneralRe: I don't like java. Pin
honey the codewitch14-Sep-19 15:30
memberhoney the codewitch14-Sep-19 15:30 
GeneralRe: I don't like java. Pin
Munchies_Matt14-Sep-19 23:49
memberMunchies_Matt14-Sep-19 23:49 

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.