Literate programming

The idea, which originated with Knuth, is to write a program and its documentation at the same time, interleaved with each other.

In literate programming, the code is subservient to the documentation. For example, the various sections of the code are written not in the order the compiler (or interpreter) wants them, but in the order most appropriate for the explanation. Two utility programs transform the combination file: one to typeset the documentation and the code via TeX, and the other to extract and rearrange the source code and send it to the compiler.

— More shell, less egg

— Dr. Drang

2011.12.14 Wednesday ACHK

知識完備集合 0

My theory of knowledge:

Collect a complete set of knowledge basis vectors. Then you can construct any knowledge vectors you like. That’s the “threshold” I mean.

When your reading amount has passed a threshold, you seldom need to read anymore.

— Me@2009.09.30

2011.12.14 Wednesday (c) All rights reserved by ACHK