Literate programming is a philosophy of
computer programming based on the premise that a
computer program should be written similar to
literature, with human readability as a primary goal. According to this philosophy, programmers should aim for a “literate” style in their programming just as writers aim for an intelligible and articulate style in their writing. This philosophy contrasts with the mainstream view that the programmer’s primary or sole objective is to create source code and that documentation should only be a secondary objective.
See more at Wikipedia.org...