到底什么是故意编程 [英] What exactly is Intentional Programming

查看:102
本文介绍了到底什么是故意编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在疯狂阅读的过程中,我偶然发现了一种名为意图编程的东西. 我对此有些了解,但我并不完全了解.如果有人可以更详细地解释它,请这样做.在任何实际应用中都使用它吗?

On my reading spree, I stumbled upon something called Intentional Programming. I understood it somewhat, but I not fully. If anyone can explain it in better detail, please do. Is it being used in any real application?

推荐答案

您让我着手了这件事...
看起来C. Simonyi想要迈向高级语言的下一个抽象层次.减少客户对开发人员的依赖,以进行代码中的每项更改(对于未开发人员而言,是秘密的). 因此,他发明了称为IP的新产品,该产品具有所见即所得类型的GUI编辑器,用于创建特定于域的模型. (即IP有一个GUI可以为您的应用程序创建构建块.LISP允许您创建元/构建块,但不能以域专家可以轻松地创建的方式.)
像UML中的模型一样,承诺是您可以在按钮的推动"下自动生成相应的源代码.因此,领域专家可以在将来对模型进行调整,然后按烘焙"按钮以交付该应用程序的下一个版本. 但是,似乎可以利用DSL的好处还在于,多个用户创建的DSL可以通过内置IP机制相互通信……这意味着财务模型和销售模型可以进行交互和重用.根据需要阻止.与DSL一样,您将获得代码的好处,该代码传达了开发人员的意图,而不是缓解实施语言的局限性.

You got me started on this one...
Looks like C. Simonyi wanted to step to the next level of abstraction from High level languages. Reduce the dependency of customers on developers to make every change.. in code (cryptic for people not in development). So he invents this new product called IP, which has a WYSIWYG type GUI editor to create a domain specific model. (i.e. IP has a GUI to create the building blocks for your app.. LISP allowed you to create the meta/building blocks but not in a way that domain experts could easily do it.)
Like the models in UML, the promise is that you can auto-generate the corresponding source code at the "push of a button". So the domain experts can tweak the model in the future and press the Bake button to deliver the next version of the app. It seems to utilise DSLs however with the added benefit that multiple user-created DSLs can talk with each other via a built-in IP mechanism... which means the finance model and sales model can interact and reuse blocks as needed. As with DSLs, you get the benefit of code that conveys developer intent rather than appeases implementation language constraints.

想法是让实际上知道需要什么的广管局和领域专家拥有更大的控制权.

The idea being to give greater control to the BA and domain experts who actually know what's needed...

更新: 现实世界中的使用看起来像还没有"..尽管西蒙尼相信,长期以来,"".
短篇小说:MS压制IP以支持.Net框架,Simoniyi离开MS并成立了自己的公司'

Update: Real world use looks like 'not yet'.. although Simonyi believes 'absolutely in the long term'.
Short Story: MS squished IP in favor of .Net framework, Simonyi left MS and formed his own company 'Intentional Software'.. with the contract that he could use the IP ideas but he would have to rewrite his working proto from the ground up.. (that should slow him down). It's still Work-In-Progress I think.. and being written in C# (to boot)

来源:

想想直到昨天..我对此一无所知.调查记者签字.回到日常工作:)

To think till yesterday.. I didn't know a thing about this. Investigative reporter signing off. Going back to day job :)

这篇关于到底什么是故意编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆