`
WhisperQQ
  • 浏览: 58734 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Leo翻译系列之三:VisualWikiPedia上关于“文学化编程”的描述

阅读更多
[原文见:http://visualwikipedia.com/en/Literate_programming]

文学化编程是Donald Knuth建立的一种编程方法。它是对70年代结构化编程思路的一种延续。
文学化编程模式使得人们从由屈从于计算机工作方式的编程方式,调整为适合人类思维逻辑的编程方式。
文学化的程序
Literate programs are written as an uninterrupted exposition of logic in an ordinary human language, much like the text of an essay, in which macros which hide abstractions and traditional source code are included. Literate programming tools are used to both en-tangle a literate program into a form suitable for further compilation or execution, and to weave the program into formatted documentation. While the first generation of literate programming tools were computer language-specific, the later ones are language-agnostic and exist above the programming languages.

【未完待续】
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics