Abstract
There is disagreement about the role and importance of typographic style (source code formatting and commenting) in program comprehension. Results from experiments and opinions in programming style books are mixed. This article presents principles of typographic style consistent and compatible with the results of program comprehension studies. Four experiments demonstrate that the typographic style principles embodied in the book format significantly aid program comprehension and reduce maintenance effort.—Authors' Abstract
- 1 Adelson, B. Problem solving and the development of abstract categories in programming languages. Mein. Cognition 9, 4 (1981), 422- 433.Google ScholarCross Ref
- 2 Baecker, R. Enhancing program readability and comprehensibility with tools for program visualization. In Proceedings of the Tenth International Conference on Software Engineering (Raffles City, Singapore, Apr. 11-15). ACM/SIGSOFT and IEEE/CS, New York, 1988, pp. 356-366. Google ScholarDigital Library
- 3 Brooks. R. E. Towards a theory of the comprehension of computer programs. Int. J. of Man-Machine Stud. 18, 6 (June 1983), 543-554.Google ScholarCross Ref
- 4 F}eldstad, R. K., and Hamlen, W. T. Applications program maintenance study: Report to our respondents. In Tutorial on Software Maintenance, G. Parikh and N. Zvegintzov, Eds. IEEE/CS Press, Silver Spring, Md., 1983, pp. 13-27.Google Scholar
- 5 Kernighan, B. W., and Plauger, P. J. The Elements of Prograrnming Style. McGraw-Hii1, New York, 1974. Google ScholarDigital Library
- 6 Kernighan, B. W., and Ritchie, D. M. The C Programming Language. Prentice-Hall, Englewood Cliffs, N. }., 1978. Google ScholarDigital Library
- 7 Ledgard, H., and Tauer, J. Professional Software, Vol. II Programming Practice. Addison-Wesley, Reading, Mass., 1987. Google ScholarDigital Library
- 8 Littman, D., Pinto, J., Letovsky, S., and Soloway, E. Mental models and software maintenance. In Empirical Studies of Programmers. E. Soloway and S. Iyengar, Eds. Ablex Publishing, Norwood N. J., 1986, pp. 8O-98. Google Scholar
- 9 Lore, T. An experimental investigation of the effect of program structure on program understanding. ACM SIGPLAN Notice 12, 3 (Mar. 1977), 105-113. Google ScholarDigital Library
- 10 Miara, R. J., Musselman, J. A., Navarro, I. A., and Shneiderman, B. Program indentation and comprehensibility. Commun. ACM 26, 11 (Nov. 1983), 861-867. Google ScholarDigital Library
- 11 Pennington, N. Stimulus structures and mental representations in expert comprehension of computer programs. Cognitive Psychol. 19, 2 (Feb. 1987), 295-341.Google ScholarCross Ref
- 12 Oman, P., and Cook, C. R. A taxonomy for programming style. In Proceedings of the Eighteenth Annual Computer Science Conference (Washington D.C., Feb. 22-23.) ACM, New York, 1990, pp. 244-250. Google ScholarDigital Library
- 13 Sheil, B. A. The psycho}ogical study of programming. Comput. Surv. 13, 1 (Mar. 1981}, 101-120. Google ScholarDigital Library
- 14 Schneider, G., and Buell, S. Advanced Programming and Problem Solving With Pascal. John Wiley & Sons, New York, 1981. Google ScholarDigital Library
- 15 Shneiderman, B., and McKay, D. Experimental investigations of computer program debugging and modification. In Software Psychology. Winthrop Puhlishers, Cambridge, Mass., 1980, pp. 72-74.Google Scholar
- 16 Soloway, E., and Ehrlich, K. Empirical studies of programming knowledge. IEEE Trans. Softw. Eng. SE-IO, 5 (Sept. 1984}, 595-609.Google ScholarDigital Library
Index Terms
- Typographic style is more than cosmetic
Recommendations
Learning typographic style: from discrimination to synthesis
Typography is a ubiquitous art form that affects our understanding, perception and trust in what we read. Thousands of different font-faces have been created with enormous variations in the characters. In this paper, we learn the style of a font by ...
Style-preserving English handwriting synthesis
This paper presents a novel and effective approach to synthesize English handwriting in the user's writing style. We select the most important features that depict the handwriting style, including character glyph, size, slant, and pressure, special ...
Comments