意图编程

在计算机编程中，意图（Intentional）编程，是查尔斯·西蒙尼开发的一种编程范型，在软件源代码中编码编程者（或用户）构思他们的工作时心中的精确“意图”。通过使用适当层次的抽象，编程者在其中思考、创建和维护计算机程序会变得更容易。通过分离对意图与具体操作的关切，软件变得更加模块化，并允许更加可重用的软件代码。

意图编程是前微软首席架构师查尔斯·西蒙尼开发的，他当时在微软研究院领导了一个团队，开发了这个范型，并建造了一个叫做IP（意图编程）的集成开发环境（IDE）来展示这个范型。微软决定不产品化意图编程范型，因为在2000年代早期，微软推出了C#和.NET来反击Java的广泛采用"Simonyi explains, 'It was impractical, when Microsoft was making tremendous strides with .Net in the near term, to somehow send somebody out from the same organization who says, "This is not how you should do things--what if you did things in this other, more disruptive way?'"  (Quote from "Part II: Anything You Can Do, I Can Do Meta: Space tourist and billionaire programmer Charles Simonyi designed Microsoft Office. Now he wants to reprogram software." , Tuesday, January 9, 2007, Scott Rosenberg, Technology Review.)。查尔斯·西蒙尼决定在微软的批准之下，将他的想法带离微软自己商业化它。他建立了一个公司叫意图软件来追求这个目标。微软将西蒙尼在微软期间所获得的意图编程专利授权许可给了意图软件，但不包含源代码。

对在微软研究院期间开发的意图编程的概述可见于叫做《生成式编程：方法、工具和应用》的一本书的第11章Generative Programming: Methods, Tools, and Applications, by Krzysztof Czarnecki and Ulrich Eisenecker, Addison-Wesley, Reading, MA, USA, June 2000.。

参见
 自动编程
 对象数据库

引用

外部链接
 Intentional Software - Charles Simonyi's company
 The Death Of Computer Languages, The Birth of Intentional Programming, a technical report by Charles Simonyi (1995) 
 Intentional Programming - Innovation in the Legacy Age, a talk by Charles Simonyi (1996) 
 Edge.org interview with Charles Simonyi (interviewer: John Brockman) 
 Language Workbenches: The Killer-App for Domain Specific Languages?  - Martin Fowler's article on the general class of tools that Intentional Programming is an example of.
 "Anything You Can Do, I Can Do Meta"  Tuesday, January 9, 2007, Scott Rosenberg, Technology Review
  Awaiting the Day When Everyone Writes Software , The New York Times, 28 January 2007
 Is programming a form of encryption?, by Charles Simonyi (2005)
 Appropriate Levels of Abstraction, by Charles Simonyi (2005)
 The information contents of programs, by Charles Simonyi (2005)
 Feature X Considered Harmful, by Charles Simonyi (2005)
 Notations and Programming Languages, by Charles Simonyi (2005)
 Personal Observations from a Developer, by Mark Edel (2005)
 Microsoft Research's educational video introducing their Intentional Programming system (ASF format, circa 1998, 20 megabytes)

Category:编程范式