> A second example are the simplelock locks once prevalent in the kernel. These locks, which were really macros which expanded to nothing, were introduced long before the kernel was actually capable of multiprocessor operation in a case of premature optimism. When SMP support was finally added, intervening code changes meant that many of the lock and unlock operations were incorrectly placed.
This is a good example for that code that is neither used nor tested is useless.
Well, browsing with NoScript, I wasn't even aware of this gag until I returned to read HN comments some 20 hours later (as it looks, the Comic Sans is firstly set via JavaScript, along with the subsequent flip back to the 'normal' serif.)
Maybe I'm reading too much into it, but even if just an unintentional byproduct - isn't that a nice "additional" reward for people that don't allow running unnecessary scripts on random web sites?
This is a good example for that code that is neither used nor tested is useless.