From: W. Trevor King Date: Tue, 5 Oct 2010 19:24:12 +0000 (-0400) Subject: Added literate programming post. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=20e1c0f3c76b1b7538cf9a59f3b0f148713f0b36;p=blog.git Added literate programming post. --- diff --git a/posts/Literate_programming.mdwn b/posts/Literate_programming.mdwn new file mode 100644 index 0000000..92f71d4 --- /dev/null +++ b/posts/Literate_programming.mdwn @@ -0,0 +1,21 @@ +[Literate programming][LP] 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. + +Traditional programs have human language comments interspersed in +computer language code. Literate programs reverse this style, with +computer language "comments" interspersed in a human language essay. + +An excellent (and simple) literate programming tool is [noweb][]. +There is a hello-world example and some intro information on [Wikipedia][]. +There are also official [quick][] and [6 page][] introductions. + +[LP]: http://en.wikipedia.org/wiki/Literate_programming +[noweb]: http://www.eecs.harvard.edu/nr/noweb/ +[Wikipedia]: http://en.wikipedia.org/wiki/Noweb +[quick]: http://www.eecs.harvard.edu/nr/noweb/onepage.ps +[6 page]: http://www.linuxjournal.com/article/2188 + +[[!tag tags/programming]] +[[!tag tags/tools]] +[[!tag tags/web]]