On Sep 9, 2005, at 17:21:30, Hans Reiser wrote:
It's huge CPP abuse
can you define what that means? and how abuse differs from cleverness?
This code was not my idea, but it seemed more cleverness than abuse to
me when I read it.
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it."
-- Brian Kernighan
Sometimes cleverness can be even worse than ordinary abuse :-D. If the
code gets added to the kernel, then it should be debuggable (or at least
easily comprehensible) by a significant chunk of kernel developers, or
it will cause more problems than it solves. I think that a type-safe
list system _would_ be a good addition, but make sure you comment it
heavily enough to make it really obvious, even to those of us who are
less than brilliant (like myself).
Cheers,
Kyle Moffett
--
Simple things should be simple and complex things should be possible
-- Alan Kay
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|