Do class comments aid java program understanding?
Eriko Nurvitadhi, Wing Wah Leung, Carson Cook · 2022 IEEE Frontiers in Education Conference (FIE) · 2004
This paper describes an experiment that investigates the effects of class and method comments on Java program understanding among beginning programmers. Each of the 103 students from CS1 class at Oregon Slate University was given one of four versions (no comments, only method comments, only class comments, and both method and class comments) of a Java database program and answered questions about the program. The results indicated that method comments do increase low-level program understanding, while class comments did not increase high-level understanding. This raises questions about the role of class comments in object-oriented programs, as well as the kind of commenting guidelines that should be used in teaching CS1 classes.
Cited by 31 works. doi:10.1109/fie.2003.1263332
Authors
References
- Effective Java Programming Language Guide
- Introduction to Object‐Oriented Programming
- Java Software Solutions: Foundations of Program Design
- The effects of comments and identifier names on program comprehensibility: an experimental investigation.
- The effect of modularization and comments on program comprehension
- Typographic style is more than cosmetic
- Computing Concepts with Java Essentials
- An Introduction to Object-Oriented Programming With Java
- Introduction to Programming Using Java: An Object-Oriented Approach
- Object-oriented documentation