Chapter 15. The Source of Bugs
Where do bugs come from? Could we narrow down the cause of all bugs to just one source or a few? As it turns out, we can.
Bugs most commonly come from somebody's failure to reduce complexity. Less commonly, they come from a misunderstanding of something that was actually simple.
Other than typos, I'm pretty sure that those two things are the source of all bugs, though I haven't yet done extensive research to prove it.
When something is complex, it's far too easy to misuse it. If there's a black box with millions of unlabeled buttons on it, and 16 of them blow up the world, somebody's going to blow up the world. Similarly, in programming, if you can't easily understand the documentation of a language, or the actual language itself, you're going to misuse it somehow.
There's no right way to use a box with millions of unlabeled buttons, really. You could never figure it out, and even if you wanted to read the...