Quotulatiousness

July 19, 2020

“Evolved cognition is a kludge – more properly, multiple stacks of kludges – developed under selection to be just barely adequate at coping”

Filed under: Health, Science, Technology — Tags: , , , — Nicholas @ 05:00

ESR considers the role of programmers who need to document their software, after a brief trip into the kludginess of human cognition:

Maybe you’re one of the tiny minority of programmers that, like me, already enjoys writing documentation and works hard at doing it right. If so,the rest of this essay is not for you and you can skip it.

Otherwise, you might want to re-read (or at least re-skim) Ground-Truth Documents before continuing. Because ground-truth documents are a special case of a more general reason why you might want to try to change your mindset about documentation.

In that earlier essay I used the term “knowledge capture” in passing. This is a term of art from AI; it refers to the process of extracting domain knowledge from the heads of human experts into a form that can be expressed as an algorithm executable by the literalistic logic of a computer.

What I invite you to think about now is how writing documentation for software you are working on can save you pain and effort by (a) capturing knowledge you have but don’t know you have, and (b) eliciting knowledge that you have not yet developed.

Humans, including me and you, are sloppy and analogical thinkers who tend to solve problems by pattern-matching against noisy data first and checking our intuitions with logic after the fact (if we actually get that far). There’s no point in protesting that it shouldn’t be that way, that we should use rigorous logic all the way down, because our brains simply aren’t wired for that. Evolved cognition is a kludge – more properly, multiple stacks of kludges – developed under selection to be just barely adequate at coping.

This kludginess is revealed by, for example, optical illusions. And by the famous 7±2 result about the very limited sized of the human working set. And the various well-documented ways that human beings are extremely bad at statistical reasoning. And in many other ways …

December 2, 2009

QotD: Thought

Filed under: Quotations, Randomness — Tags: , — Nicholas @ 14:20

[Thoughts are] like cavalry charges in battle — they are strictly limited in number, they require fresh horses, and must only be made at decisive moments.

Alfred North Whitehead

Powered by WordPress