April 2024
Beginner
656 pages
23h 19m
English
Programming is understanding.
– Kristen Nygaard
Writing a program involves gradually refining our ideas of what we want to do and how we want to express them. In this chapter and the next, we will develop a program from a first vague idea through stages of analysis, design, implementation, testing, redesign, and re-implementation. Our aim is to give you some idea of the kind of thinking that goes on when you develop a piece of code. In the process, we discuss program organization, user-defined types, and input processing.
§5.2 Thinking about the problem
Stages of development; Strategy
First attempt; Tokens; Implementing tokens; Using tokens