...
【24h】

Coding guidelines for Prolog

机译:Prolog的编码准则

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

摘要

Coding standards and good practices are fundamental to a disciplined approach to software projects irrespective of programing languages being employed. Prolog programing can benelit from such an approach, perhaps more than programing in other languages. Despite this, no widely accepted standards and practices seem to have emerged till now. The present paper is a first step toward filling this void: It provides immediate guidelines for code layout, naming conventions, documentation, proper use of Prolog features, program development, debugging, and testing. Presented with each guideline is its rationale and, where sensible options exist, illustrations of the relative pros and cons for each alternative. A coding standard should always be selected on a per-project basis, based on a host of issues pertinent to any given programing project; for this reason the paper goes beyond the mere provision of normative guidelines by discussing key factors and important criteria that should be taken into account when deciding on a full-fledged coding standard for the project.
机译:无论采用哪种编程语言,编码标准和良好实践对于软件项目的规范化方法都是至关重要的。 Prolog编程可以从这种方法中受益,这可能比使用其他语言进行编程要好。尽管如此,到目前为止似乎还没有出现被广泛接受的标准和实践。本文是填补这一空白的第一步:它为代码布局,命名约定,文档,正确使用Prolog功能,程序开发,调试和测试提供了即时指南。每个指南都提供了其原理,并在存在明智选择的情况下举例说明了每个替代方案的相对优缺点。应始终根据与任何给定编程项目相关的许多问题,在每个项目的基础上选择编码标准;因此,本文讨论了在确定项目的成熟编码标准时应考虑的关键因素和重要标准,从而超出了规范性准则的范围。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号