Program indentation and comprehensibility

@article{Miara1983ProgramIA,
  title={Program indentation and comprehensibility},
  author={Richard J. Miara and Joyce A. Musselman and Juan A. Navarro and Ben Shneiderman},
  journal={Commun. ACM},
  year={1983},
  volume={26},
  pages={861-867}
}
The consensus in the programming community is that indentation aids program comprehension, although many studies do not back this up. We tested program comprehension on a Pascal program. Two styles of indentation were used--blocked and nonblocked--in addition to four passible levels of indentation (0, 2, 4, 6 spaces). Both experienced and novice subjects were used. Although the blocking style made no difference, the level of identation had a significant effect on program comprehension. (2--4… Expand
The Effect of Indentation and white Space on Program Retention
Advocates of structured programming make strong claims for the value of indentation and white space. dence supporting this position is confusing. Weissman (1974) used advanced computer scienceExpand
Indentation: A Simple Matter of Style or Support for Program Comprehension?
Most modern programming language style guides suggest a specific indentation depth to convey the structure of code (e.g., two or four spaces). In this study, we examine the effect of indentationExpand
Indentation: Simply a Matter of Style or Support for Program Comprehension?
TLDR
This paper presents empirical evidence for the suggested level of indentation made by many style guides, and modernization of the original experiment design is a promising starting point for future studies in this field. Expand
The influence of color on program readability and comprehensibility
TLDR
This study showed that subjects who used programs with Color-scheme-B had the highest mean score for program comprehension, followed by those who used Color- scheme-A, which was the usual black-and-white programs. Expand
The Effectiveness of Control Structure Diagrams in Source Code Comprehension Activities
Recently, the first two in a series of planned comprehension experiments were performed to measure the effect of the control structure diagram (CSD) on program comprehensibility. Upper- andExpand
Typographic style is more than cosmetic
TLDR
Fourexperiments demonstrate that the typographic style principles embodied in the book format significantly aid program comprehension and reduce maintenance effort. Expand
Tool for making programs more readable
TLDR
This work proposes an automatic formatting programs for responding to the need to provide a model of the presentation of the Pascal program which facilites the correction and make the program readable by other programers. Expand
Automatic assessment of students ’ program codes
Nowadays, there are several programming languages, which are found to be difficult for a novice programmer to understand. According to Robins [RRR03], students have often difficulties in buildingExpand
A Comparative Evaluation of Program Comprehension Measures
TLDR
The results indicate that the measures based on mental simulation are the most reliable, followed by maintenance based tasks, and subjective measures are cheap and worth using (along with another measure). Expand
Enhancing program readability and comprehensibility with tools for program visualization
  • R. Baecker
  • Computer Science
  • Proceedings. [1989] 11th International Conference on Software Engineering
  • 1988
TLDR
A design for the effective presentation of source text in the C programming language using high-quality digital typography and a processor which implements the design is given. Expand
...
1
2
3
4
5
...

References

SHOWING 1-10 OF 24 REFERENCES
Indentation, documentation and programmer comprehension
TLDR
The purpose of this study was to examine experimentally the relationship between documentation, indentation and the comprehension of computer programs. Expand
Indenting for the compiler
TLDR
A simple indentation rule, indent statements from the control statement they belong to, is sufficient to express a program's block structure without the use of compound statements or closing keywords, thus reducing effort and eliminating a potential source of errors. Expand
Experimental Investigations of Computer Program Debugging and Modification
TLDR
The results of human factor experiments in programming have led to a cognitive model of programmer behavior which distinguishes between the hierarchically structured, meaningfully acquired semantic knowledge and the rotely memorized syntactic knowledge. Expand
A technique for making structured programs more readable
TLDR
A new technique will be discussed which will use automatically generated lines to connect separated parts of control structures to help a reader comprehend the logical structure of programs. Expand
On the formatting of Pascal programs
TLDR
This paper presents simply a suggested formatting approach, with vague arguments for the adoption of these formatting rules, for block structured languages such as Algol or Simula. Expand
An experimental investigation of the effect of program structure on program understanding
TLDR
The major findings were that programs with simplified control flow were easier for the computer science students to understand as measured by their ability to reconstruct the programs. Expand
An automatic formatting program for PASCAL
TLDR
A set of useful formatting standards for PASCAL are attempted, and a program that has been thoughtfully formatted according to such a standard is said to be prettyprinted. Expand
Elements of Programming Style
TLDR
These notes provide guidelines for internal program documentation and style for student programmers, geared mainly for a block structured language such as Pascal or C, most of the points discussed are applicable to any programming language. Expand
Prettyprinting structured programs with connector lines
TLDR
Prettyprir:tirg structured programs is an irnportar t method for increasing a program's readeblity by connecting opening and closing keywords with semicolons everywhere, and some people find it hard to accept semicolon s in this new role, but I am all forSemicolons lib. Expand
Psychological complexity of computer programs: an experimental methodology
TLDR
A series of experiments which have been conducted with the aim of establishing a suitable experimental methodology to measure those factors which make programs difficult to understand and maintain. Expand
...
1
2
3
...