首页> 外文期刊>Software Engineering Journal >Comparing programming paradigms: an evaluation of functional and object-oriented programs
【24h】

Comparing programming paradigms: an evaluation of functional and object-oriented programs

机译:比较编程范例:对功能和面向对象程序的评估

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

摘要

A quantitative evaluation of the functional and object-oriented paradigms is presented. The aim of this project is to investigate whether the quality of code produced using a functional language is significantly different from that produced using an object-oriented language. 12 sets of algorithms are developed, together with a number of utility functions, in both Standard ML (SML) and C++. Strict constraints are imposed during the development cycle to improve the reliability of the results. The statistical tests do not reveal any significant differences for direct measures of the development metrics used which are associated with quality, such as the number of known errors, the number of modification requests, a subjective complexity assessment, etc. However, significant differences are found for an indirect measure, the number of known errors per thousand non-comment source lines, and for various code metrics, including the number of distinct functions called, the number of distinct library functions called, and the ratio of these, which is a measure of code reuse. A difference is also found for the time taken to test the programs, due to different compilation techniques and a difference in the number of test cases executed.
机译:给出了功能和面向对象范式的定量评估。该项目的目的是调查使用功能语言产生的代码质量与使用面向对象语言产生的代码质量是否显着不同。在标准ML(SML)和C ++中,开发了12套算法以及许多实用程序功能。在开发周期中施加了严格的约束,以提高结果的可靠性。统计测试未发现与质量相关的所用开发指标的直接度量的任何显着差异,例如已知错误的数量,修改请求的数量,主观复杂性评估等。但是,发现了显着差异对于间接度量,每千条非注释源行中的已知错误数,对于各种代码度量,包括所调用的不同函数的数量,所调用的不同库函数的数量以及它们的比率,该度量代码重用。由于编译技术不同以及执行的测试用例数量不同,测试程序所花费的时间也有所不同。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号