I cannot tell whether this is better termed "Nilgewater" or "Bullschildt"..
But it clearly ought to be one or the other.
He doesn't.
To be fair, the *example* is correct (if useless). However, the
*description* is incorrect.
And worse, the example appears to illustrate the incorrect description.
You have to realize that he has, without warning, repurposed the name
"end", to understand that the example shows that the description is wrong..
The example, yes, is correct.
I also remember what it was like to be a newbie, and spend a lot of time
working with newbies to help them understand things.
Heh.
More importantly, the best he's come up with for showing that my code is
"far less competent" is that he didn't know how switch() works in C and
couldn't comprehend standard idioms. Oh, poor wounded me. My reputation
is in tatters.
You are lying. I know how case works since I've written compiler code
to parse and generate object code for case statements. Have you? I am
also aware that switch was incredibly poorly designed by the standards
even of 1969, since it failed, three years after Bohm and Jacoponi
proved that three control structures suffice and two years after
Dijkstra published "Go To Considered Harmful" in JACM for August 1968,
to be structured and allowed "fallthrough" although common logic is
better handled by function calls, inline, or preprocessor macros. This
poor design, and your incompetence, causes your queue.c code to
misleadingly seem to handle invalid ack and nak from or in clients,
leading the program reader (who knows like me how you need a break to
avoid fallthrough) to nonetheless waste his time in trying to find out
why you included ack and nak (after two months "work") in the first
place.
Yes, your reputation is in tatters with the people here who matter,
and who know their trade, as opposed to self-serving little corporate
dweebs who post nonsense about computer books, pay their way onto
standards boards, and backstab to get what they want.
It's only going to get worse, Peter. To the dispassionate observer, I
come across in code, in prose, and even in original poetry as the
person here who can write because he knows his trade. Word to the
wise: lawyers tend to like my style. Nuf ced?
I realize I might have what blm would probably consider a
"communications problem" with little creeps like you and in the
corporate playbook I'm supposed to dumb down. Well, I don't have to
and I won't. I'll end my days in a Bangkok whorehouse first.
I'll take "over a year in production with exactly one failure which was
caused by a user error" over approval by Nilges any day.
Hmm, a "failure" caused by a "user error". You know, Dweebach, the
most uncharitable but quite possibly true interpretation of this was
that the "failure" was not an error message on the server and a
graceful termination. No, based on your failure in queue.c to
initialize db_header followed by a nested if statement which assigned
it only if certain preconditions were true, my guess is that this
"failure" was quite spectacular. It is only a pity that it isn't the
old days when there would have been smoke and flames.
Flame and smoke, smoke and flame
Oh how nice, we have the user to blame
And I wouldn't break my arm patting myself on the back. FYI, in my
salad days, when I could abide working with lower middle class dweebs
because I liked programming just enough, I had to produce tens of such
programs including a compiler and microassembler, in one month, and it
didn't uh crash owing to unexpected input from the "user". Learn your
trade: a good program does not "fail" on user error. It does something
graceful to prevent further harm such as returning void, or zero, or
-1, to the OS. If you hadn't wasted half your life on shibboleth and
back-stabbing you'd know this by now.
Besides, if it didn't fail, did it produce the correct "answers"? Or
did it just cheerfully run, leaking memory and using (in something
like the uninitalized db_header in your famous queue.c) uninitialized
data which was Nul most of the time? Wir sagt?
Just blank CTCN, or insert a disclaimer at the top, remove the
Reception section in the wikipedia article and confirm you have done
so, and quit fucking around.