Program indentation and comprehensibility
Open accessThe DOI matches its Crossref record.
Abstract
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 spaces had the highest mean score for program comprehension.)We recommend that a moderate level of indentation be used to increase program comprehension and user satisfaction.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cited by
Ko, A. J., Myers, B. A., Coblenz, M. J., & Aung, H. H. (2006) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2006.116 · Cited by 685
“In Section 7, we conclude with implications of our results on the design of software development environments.”
A Principled Taxonomy of Software Visualization
Price, B. A., Baecker, R. M., & Small, I. S. (1993) · Journal of Visual Languages & Computing · doi:10.1006/jvlc.1993.1015 · Cited by 476
Learning a Metric for Code Readability
Buse, R. P. L., & Weimer, W. R. (2010) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2009.70 · Cited by 396
“For example, Python enforces a specific indentation scheme in order to aid comprehension [29], [40].”
Method(2017) · doi:10.1145/3106237.3106268 · Cited by 117
Understanding Accessibility and Collaboration in Programming for People with Visual Impairments
Pandey, M., Kameswaran, V., Rao, H. V., O'Modhrain, S., & Oney, S. (2021) · Proceedings of the ACM on Human-Computer Interaction · doi:10.1145/3449203 · Cited by 54
“For instance, indenting code blocks enables sighted programmers to easily identify relevant sections of code when scrolling past them [53].”
BackgroundZou, W., Xuan, J., Xie, X., Chen, Z., & Xu, B. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09720-x · Cited by 37
An eye tracking study assessing source code readability rules for program comprehension
Park, K.-I., Johnson, J., Peterson, C. S., Yedla, N., Baysinger, I., Aponte, J., & Sharif, B. (2024) · Empirical Software Engineering · doi:10.1007/s10664-024-10532-x · Cited by 9
Metadata
- Authors
- Miara, R. J., Musselman, J. A., Navarro, J. A., & Shneiderman, B.
- Venue
- Communications of the ACM
- Published
- 1983-11
- Volume
- 26
- Issue
- 11
- Pages
- 861-867
- ISSN
- 0001-0782 (ISSN-L)
- 1557-7317
- OpenAlex
- W1969685458
- Cited by
- 158
- References
- 0
- FWCI
- 35.15
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.