As mentioned in the Preface, we have saved this chapter on how to write programs (except for a brief look in Section 6.2.7) until now because we wanted to focus our teaching of how to program on “doing” rather than on “talking about doing.” So, our problems so far have been generally on the short side. As we move into longer and more complex programs, we are in a place to consider more detailed advice about how to write programs. In this chapter, we discuss three topics regarding how to write programs: the process of writing programs, the importance of testing, and the importance of style conventions.
Review the options below to login to check your access.
Log in with your Cambridge Aspire website account to check access.
If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.