Literate programming is an approach to programming introduced by Donald Knuth as an alternative to the structured programming paradigm of the 1970s. The literate programming paradigm, as conceived by Knuth, represents a move away from writing programs in the manner and order imposed by the computer, and instead enables programmers to develop programs in the order demanded by the logic and flow of their thoughts.
more from Wikipedia