Click here to Skip to main content
15,914,014 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
honey the codewitch14-Sep-19 5:54
mvahoney the codewitch14-Sep-19 5:54 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
Sander Rossel14-Sep-19 5:11
professionalSander Rossel14-Sep-19 5:11 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 5:13
mvahoney the codewitch14-Sep-19 5:13 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
harold aptroot14-Sep-19 5:40
harold aptroot14-Sep-19 5:40 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
Night Fox Localhost14-Sep-19 7:16
Night Fox Localhost14-Sep-19 7:16 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
Gary R. Wheeler14-Sep-19 9:28
Gary R. Wheeler14-Sep-19 9:28 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 9:38
mvahoney the codewitch14-Sep-19 9:38 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
Gary R. Wheeler15-Sep-19 1:45
Gary R. Wheeler15-Sep-19 1:45 
That makes sense, especially given the type of algorithms you deal with in parsers and data structures.

In the course of developing several large, complex applications, I've learned that having pieces of code that must stay in sync logically or follow the same algorithm is a failure point. Refactoring can help if i makes sense to move things into a method, and then have each location invoke the method. The hard part there can be figuring out a name for the thing: "CheckToSeeIfMessageNeededAtThreadExit" is ugly Big Grin | :-D .
Software Zen: delete this;

GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch15-Sep-19 3:37
mvahoney the codewitch15-Sep-19 3:37 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
User 483504714-Sep-19 12:32
User 483504714-Sep-19 12:32 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 12:39
mvahoney the codewitch14-Sep-19 12:39 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
User 483504714-Sep-19 12:48
User 483504714-Sep-19 12:48 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 12:49
mvahoney the codewitch14-Sep-19 12:49 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
User 483504714-Sep-19 13:07
User 483504714-Sep-19 13:07 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 13:11
mvahoney the codewitch14-Sep-19 13:11 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
User 483504714-Sep-19 13:24
User 483504714-Sep-19 13:24 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 13:27
mvahoney the codewitch14-Sep-19 13:27 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
User 483504714-Sep-19 13:56
User 483504714-Sep-19 13:56 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch14-Sep-19 14:06
mvahoney the codewitch14-Sep-19 14:06 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
SwitcherSoft15-Sep-19 21:07
SwitcherSoft15-Sep-19 21:07 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
t-j@home15-Sep-19 23:19
professionalt-j@home15-Sep-19 23:19 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
maze316-Sep-19 0:43
professionalmaze316-Sep-19 0:43 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
MSBassSinger16-Sep-19 2:44
professionalMSBassSinger16-Sep-19 2:44 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
honey the codewitch16-Sep-19 3:28
mvahoney the codewitch16-Sep-19 3:28 
GeneralRe: for those of you purists that don't like break, continue and goto Pin
obermd16-Sep-19 4:17
obermd16-Sep-19 4:17 

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.