AN EMPIRICAL-STUDY OF ITERATION IN APPLICATIONS SOFTWARE

被引:2
|
作者
STAVELY, AM [1 ]
机构
[1] NEW MEXICO INST MIN & TECHNOL,DEPT COMP SCI,SOCORRO,NM
关键词
D O I
10.1016/0164-1212(93)90108-A
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Several real-world applications programs were studied to determine what patterns of iteration over data structures they contained. It was found that over half of all loops in these programs were iterations over data structures which were implementations of sets or sequences, and were either unconditional iterations over every element in the structure or search loops. Although there was considerable variation, a large fraction of the loops fell into these categories for every application and every programmer studied. Implications for program design methods, programming education, and programming language design are discussed.
引用
收藏
页码:167 / 177
页数:11
相关论文
共 50 条