Click here to Skip to main content
15,890,186 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 3:12
lopatir3-Jul-19 3:12 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
raddevus3-Jul-19 4:00
mvaraddevus3-Jul-19 4:00 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
Joan M3-Jul-19 8:44
professionalJoan M3-Jul-19 8:44 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
Nelek3-Jul-19 8:21
protectorNelek3-Jul-19 8:21 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
Mycroft Holmes3-Jul-19 12:51
professionalMycroft Holmes3-Jul-19 12:51 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
jsc423-Jul-19 22:45
professionaljsc423-Jul-19 22:45 
GeneralRe: I hate car insurance companies ... but I do love comparison sites. Pin
OriginalGriff3-Jul-19 23:04
mveOriginalGriff3-Jul-19 23:04 
GeneralMaybe we DO need professionals licensing Pin
rjmoses3-Jul-19 1:41
professionalrjmoses3-Jul-19 1: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 2:08
lopatir3-Jul-19 2:08 
GeneralRe: Maybe we DO need professionals licensing Pin
rjmoses3-Jul-19 3:36
professionalrjmoses3-Jul-19 3:36 
GeneralRe: Maybe we DO need professionals licensing Pin
James Lonero4-Jul-19 19:53
James Lonero4-Jul-19 19:53 
JokeRe: Maybe we DO need professionals licensing Pin
GKP19923-Jul-19 2:20
professionalGKP19923-Jul-19 2:20 
GeneralRe: Maybe we DO need professionals licensing Pin
rjmoses3-Jul-19 3:35
professionalrjmoses3-Jul-19 3:35 
GeneralRe: Maybe we DO need professionals licensing Pin
dandy723-Jul-19 2:26
dandy723-Jul-19 2:26 
GeneralRe: Maybe we DO need professionals licensing Pin
rjmoses3-Jul-19 2:48
professionalrjmoses3-Jul-19 2:48 
GeneralRe: Maybe we DO need professionals licensing Pin
OriginalGriff3-Jul-19 2:51
mveOriginalGriff3-Jul-19 2:51 
GeneralRe: Maybe we DO need professionals licensing Pin
dandy723-Jul-19 6:54
dandy723-Jul-19 6:54 
GeneralRe: Maybe we DO need professionals licensing PinPopular
RugbyLeague3-Jul-19 3:26
RugbyLeague3-Jul-19 3:26 
GeneralRe: Maybe we DO need professionals licensing Pin
MarkTJohnson3-Jul-19 3:46
professionalMarkTJohnson3-Jul-19 3:46 
JokeRe: Maybe we DO need professionals licensing Pin
abmv3-Jul-19 6:30
professionalabmv3-Jul-19 6:30 
GeneralRe: Maybe we DO need professionals licensing Pin
Mark_Wallace3-Jul-19 8:42
Mark_Wallace3-Jul-19 8:42 
GeneralRe: Maybe we DO need professionals licensing Pin
decaffeinatedMonkey4-Jul-19 2:04
decaffeinatedMonkey4-Jul-19 2:04 
GeneralRe: Maybe we DO need professionals licensing Pin
David Crow3-Jul-19 9:48
David Crow3-Jul-19 9:48 
GeneralRe: Maybe we DO need professionals licensing Pin
Joe Woodbury3-Jul-19 15:58
professionalJoe Woodbury3-Jul-19 15:58 
GeneralRe: Maybe we DO need professionals licensing Pin
Sander Rossel3-Jul-19 22:39
professionalSander Rossel3-Jul-19 22: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.