Literate programming, as Knuth presented it was that the literate/comment part was the primary document, and the executable code was just a minor detail for the benefit of the stupid computer that can't read English and only cares about arithmetic not meaning.