The influence of color on program readability and comprehensibility
Author:
Open Access
- 1 February 1986
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGCSE Bulletin
- Vol. 18 (1) , 173-181
Abstract
Readability and comprehensibility are among the most important attributes of a program. A program that is easy to read and understand is easier to test, maintain, and modify. Many factors affect program readability and comprehensibility, including variable names, internal documentation, modularity, and so on. This paper investigates the influence of color on program readability and comprehension. Three color schemes were used: Color-scheme-A used different colors to indicate the different blocks in a program; Color-scheme-B used different colors to identify the various statements function in the program; and the third color scheme was the usual black-and-white programs. 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. Subjects who used black-and-white programs scored the lowest on the comprehension quiz.Keywords
This publication has 10 references indexed in Scilit:
- Program indentation and comprehensibilityCommunications of the ACM, 1983
- ContourACM SIGPLAN Notices, 1980
- Indenting for the compilerACM SIGPLAN Notices, 1980
- Measuring computer program comprehensionACM SIGCSE Bulletin, 1980
- Prettyprinting structured programs with connector linesACM SIGPLAN Notices, 1979
- A technique for making structured programs more readableACM SIGPLAN Notices, 1978
- An automatic formatting program for PASCALACM SIGPLAN Notices, 1977
- Experimental investigations of the utility of detailed flowcharts in programmingCommunications of the ACM, 1977
- An experimental investigation of the effect of program structure on program understanding1977
- Psychological complexity of computer programsACM SIGPLAN Notices, 1974