Click here to Skip to main content
14,367,549 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.
 
RantRe: I hate car insurance companies ... but I do love comparison sites. Pin
lopatir3-Jul-19 4:12
memberlopatir3-Jul-19 4:12 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
raddevus3-Jul-19 5:00
mvaraddevus3-Jul-19 5:00 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
Joan M3-Jul-19 9:44
professionalJoan M3-Jul-19 9:44 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
Nelek3-Jul-19 9:21
protectorNelek3-Jul-19 9:21 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
Mycroft Holmes3-Jul-19 13:51
memberMycroft Holmes3-Jul-19 13:51 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
jsc423-Jul-19 23:45
professionaljsc423-Jul-19 23:45 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
OriginalGriff4-Jul-19 0:04
protectorOriginalGriff4-Jul-19 0:04 
GeneralMaybe we DO need professionals licensing Pin
rjmoses3-Jul-19 2:41
professionalrjmoses3-Jul-19 2:41 
So, I'm tripping through an older (written circa 2011) command line utility program written in C and developed under MSVC (I think, because all I got was the source code but there were some variables and defines that looked like that might have been the environment) and I get the compile error message "c1061 compiler limit blocks nested too deeply".

This is a new one on me! So, I started digging into the code and it turns out that the original developer had written his code for command line option processing as:

for (;;) {
if(..) {
}
else
if (...) { // Occasional do while/until loops inside the if
}
else
if (...)
.... 187 TIMES!!!
}
}

MSVC 2017 has a hard coded limit of 128 nested blocks!

My question: How can someone produce that kind code and still call themselves a professional developer?

It's scary that maybe this individual might now be developing code for a self-driving car.
JokeRe: Maybe we DO need professionals licensing Pin
lopatir3-Jul-19 3:08
memberlopatir3-Jul-19 3:08 
GeneralRe: Maybe we DO need professionals licensing Pin
rjmoses3-Jul-19 4:36
professionalrjmoses3-Jul-19 4:36 
GeneralRe: Maybe we DO need professionals licensing Pin
James Lonero4-Jul-19 20:53
memberJames Lonero4-Jul-19 20:53 
JokeRe: Maybe we DO need professionals licensing Pin
GKP19923-Jul-19 3:20
professionalGKP19923-Jul-19 3:20 
GeneralRe: Maybe we DO need professionals licensing Pin
rjmoses3-Jul-19 4:35
professionalrjmoses3-Jul-19 4:35 
GeneralRe: Maybe we DO need professionals licensing Pin
dandy723-Jul-19 3:26
memberdandy723-Jul-19 3:26 
GeneralRe: Maybe we DO need professionals licensing Pin
rjmoses3-Jul-19 3:48
professionalrjmoses3-Jul-19 3:48 
GeneralRe: Maybe we DO need professionals licensing Pin
OriginalGriff3-Jul-19 3:51
protectorOriginalGriff3-Jul-19 3:51 
GeneralRe: Maybe we DO need professionals licensing Pin
dandy723-Jul-19 7:54
memberdandy723-Jul-19 7:54 
GeneralRe: Maybe we DO need professionals licensing Pin
RugbyLeague3-Jul-19 4:26
memberRugbyLeague3-Jul-19 4:26 
GeneralRe: Maybe we DO need professionals licensing Pin
MarkTJohnson3-Jul-19 4:46
professionalMarkTJohnson3-Jul-19 4:46 
JokeRe: Maybe we DO need professionals licensing Pin
abmv3-Jul-19 7:30
professionalabmv3-Jul-19 7:30 
GeneralRe: Maybe we DO need professionals licensing Pin
Mark_Wallace3-Jul-19 9:42
memberMark_Wallace3-Jul-19 9:42 
GeneralRe: Maybe we DO need professionals licensing Pin
decaffeinatedMonkey4-Jul-19 3:04
memberdecaffeinatedMonkey4-Jul-19 3:04 
GeneralRe: Maybe we DO need professionals licensing Pin
David Crow3-Jul-19 10:48
memberDavid Crow3-Jul-19 10:48 
GeneralRe: Maybe we DO need professionals licensing Pin
Joe Woodbury3-Jul-19 16:58
professionalJoe Woodbury3-Jul-19 16:58 
GeneralRe: Maybe we DO need professionals licensing Pin
Sander Rossel3-Jul-19 23:39
professionalSander Rossel3-Jul-19 23:39 

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.