Skip to main content

Introduction

One of the most important things that a programmer must learn to do is to read programs. With the advent of new AI tools, the ability to read and understand code is more important than ever. There are two main aspects code reading.

  1. We need to be able to tell what a program will do based solely on the provided code.
  2. We need to be able to recognize whether or not a given program will do the task that it is suppose to do.

In this chapter we will introduce the concepts of walkthroughs and debugging

walkthroughs are sometimes called code tracing. The idea is to be able to read and follow what a program is doing

debugging is the process of identifying and fixing a program that does not "work". It is a combination of both walkthroughs and programming.

Learning Outcomes