首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Checks and Balances Constraint Solving without Surprises in Object-Constraint Programming Languages
【24h】

Checks and Balances Constraint Solving without Surprises in Object-Constraint Programming Languages

机译:在对象约束编程语言中检查和平衡约束求解而不会感到惊讶

获取原文
获取原文并翻译 | 示例
           

摘要

Object-constraint programming systems integrate declarative constraint solving with imperative, object-oriented languages, seamlessly providing the power of both paradigms. However, experience with object-constraint systems has shown that giving too much power to the constraint solver opens up the potential for solutions that are surprising and unintended as well as for complex interactions between constraints and imperative code. On the other hand, systems that overly limit the power of the solver, for example by disallowing constraints involving mutable objects, object identity, or polymorphic message sends, run the risk of excluding the core object-oriented features of the language from the constraint part, and consequently not being able to express declaratively a large set of interesting problem solutions.
机译:对象约束编程系统将声明性约束解决方案与命令式,面向对象的语言集成在一起,无缝地提供了两种范式的功能。但是,对象约束系统的经验表明,为约束求解器提供过多功能将为出乎意料和意想不到的解决方案以及约束与命令性代码之间的复杂交互提供潜力。另一方面,过度限制求解器功能的系统(例如,通过不允许涉及可变对象,对象标识或多态消息发送的约束)会冒着从约束部分排除语言的核心面向对象功能的风险。 ,因此无法以声明方式表达大量有趣的问题解决方案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号