Abstract
Programs written with good style are easier to read and understand, and typically smaller and more efficient than those written badly, regardless of the language used. Yet most programmers have never been taught programming style—as proof we need only look at their programs. In this paper we will discuss several principles of programming style, illustrating our points by criticizing and rewriting some real programs. The examples are all taken verbatim from programming textbooks, and the revisions have all been tested.
Original language | English (US) |
---|---|
Pages (from-to) | 90-96 |
Number of pages | 7 |
Journal | ACM SIGCSE Bulletin |
Volume | 6 |
Issue number | 1 |
DOIs | |
State | Published - Feb 1 1974 |
Externally published | Yes |
All Science Journal Classification (ASJC) codes
- Software
- Food Science
- Hardware and Architecture