B
Billy Bong
Hi guys!
I recently downloaded the Linux Kernel source code, in the hopes of
learning a thing or two about how the "pros" do it in C.
Much to my chagrin, I inevitably came across comments that included the
words "kludge" and "FIXME" in the Linux Kernel source code.
Because I'm a curious kind of creature, I decided to search the entire
Linux Kernel source code for instances of "kludge" and "FIXME". And here
is what I found:
kludge: 154 occurrences
FIXME: 3120 occurrences
These results seem rather striking to me. After all, the Linux Kernel
source is "open source", and, frankly, I expected to find 0 occurrences
of both these search strings, given that we should have multitudes of
programmers working on this source and fixing the bugs in what I pretty
much expect should be real-time.
Because I'm a curious kind of creature, I decided to search the entire
Microsoft MFC source code for instances of "kludge" and "FIXME". And here
is what I found:
kludge: 0 occurrence(s)
FIXME: 0 occurrence(s)
At this point, I'm feeling pretty damned hoodwinked. That desktop graphic
of the penguin sucking on a cardboard drink container with the Windows XP
logo and the words "We suck more!" on it look really appealing, but what
is really behind all that--just a dog-and-pony show?
My C question is the following:
Is it good practice to comment our code with words like "kludge" and
"FIXME"?
If so, what does that say about our requirements in specific, and our
development process in general?
And if so, shouldn't we expect nothing less than undefined behavior?
And if not, what does that say about the Linux Kernel source code?
I notice that many of the Linux Kernel source code files list Linus
Torvalds as an author. I wonder if he is aware of this apparent disarray
of the current Linux Kernel source code? If someone has his phone number,
perhaps they might try calling him to inform him of the current situation
as described above to see what he thinks, and report back here with a
transcript of the conversation.
For those of you who think I'm a pro-Microsoft dude and a Linux basher,
think again. I'm posting this from Linux. I just don't have the same
confidence in this Linux OS that I had when I installed it--based on the
evidence I presented, of course.
I recently downloaded the Linux Kernel source code, in the hopes of
learning a thing or two about how the "pros" do it in C.
Much to my chagrin, I inevitably came across comments that included the
words "kludge" and "FIXME" in the Linux Kernel source code.
Because I'm a curious kind of creature, I decided to search the entire
Linux Kernel source code for instances of "kludge" and "FIXME". And here
is what I found:
kludge: 154 occurrences
FIXME: 3120 occurrences
These results seem rather striking to me. After all, the Linux Kernel
source is "open source", and, frankly, I expected to find 0 occurrences
of both these search strings, given that we should have multitudes of
programmers working on this source and fixing the bugs in what I pretty
much expect should be real-time.
Because I'm a curious kind of creature, I decided to search the entire
Microsoft MFC source code for instances of "kludge" and "FIXME". And here
is what I found:
kludge: 0 occurrence(s)
FIXME: 0 occurrence(s)
At this point, I'm feeling pretty damned hoodwinked. That desktop graphic
of the penguin sucking on a cardboard drink container with the Windows XP
logo and the words "We suck more!" on it look really appealing, but what
is really behind all that--just a dog-and-pony show?
My C question is the following:
Is it good practice to comment our code with words like "kludge" and
"FIXME"?
If so, what does that say about our requirements in specific, and our
development process in general?
And if so, shouldn't we expect nothing less than undefined behavior?
And if not, what does that say about the Linux Kernel source code?
I notice that many of the Linux Kernel source code files list Linus
Torvalds as an author. I wonder if he is aware of this apparent disarray
of the current Linux Kernel source code? If someone has his phone number,
perhaps they might try calling him to inform him of the current situation
as described above to see what he thinks, and report back here with a
transcript of the conversation.
For those of you who think I'm a pro-Microsoft dude and a Linux basher,
think again. I'm posting this from Linux. I just don't have the same
confidence in this Linux OS that I had when I installed it--based on the
evidence I presented, of course.