Introduction

Welcome to “Programming Literacy”.

What do we mean by “literacy” here?

In the simplest sense, the ability to read and write programs would need to be included. However, programs are also unlike common languages in that we can use a computer to interrogate them. This process can help us gain a richer understanding of a given program, no matter how large or complex, help us think about a particular domain we’re working on in different ways with clarity, and, given the nature of our times, work better with LLM generated programs in the future.

In addition, we’ll also explore some “literature” to gain a view of some common ways of thinking that are useful when working with programs and domains.

Setup

We’ll be using Racket for our learning. So download and install DrRacket to get going with our work. You can install and play with it on your own. We’ll also go over the environment in class.

The purpose of this course is not to teach you Racket, though it is a “batteries included” language and environment you can use to build all kinds of programs for yourself and commercially. We’re doing this in Racket because it is the easiest and most consistent language around that we can get started with on our journey. It’s a language that one might call “a language with a low threshold and a high ceiling”. By that, we mean it is easy to get started with Racket compared to other languages but the language can scale to big programs incorporating a wide variety of concepts supporting a large number of domains.

Reference

A key reference for this course will be the time tested intro textbook How to Design Programs (or HtDP for short).

General notes and guidelines

  • You’ll be reading and writing programs as part of this course. For this course, it is important that you actually type out the programs on your own and not copy-paste it from a source. Typing will let you engage with the program and gain a kind of familiarity and ease that you will not get with copy-pasta.

    Warning

    Ignoring this instruction will be your loss.

  • Do not use Q&A resources such as StackOverflow when you’re in the learning phase. When you’re already proficient and need minor clarifications now and then, these can be good to use since you’ll have developed a sufficiently discriminative faculty by then. Not at this stage.

  • Get used to reading documentation with intent. We’ll have more to say about this in the course notes, but I want to point it out here to highlight its importance. This is not only to learn what is in the documentation, but also to give you a “customer side” feel so you can make your own choices to help readers of documentation you will be writing.

  • DO NOT use any “generative AI” tools for this course. We’re going to be doing very basic things that should not tax your brain or need assistance from tools beyond the grey matter you already possess. Again, the loss will be yours if you use these tools at this stage of learning.

  • Whenever you face any difficulties, ask and have it resolved at the earliest opportunity – this can be right there in the moment during class, later via email that day, or at least within the week. DO NOT postpone resolving your challenges with me beyond a week.

    Since July 2026 is the first term we’re offering this course, there will be some uncertainties about how our plan for you works. Keep the communication going so we can make progress and improve the material and course sooner rather than later.

  • You will not need any preparation time for your exams and quizzes if you’re paying attention and doing assigned work regularly. A good phrase to keep in mind is “a sense of urgency” (borrowed from the chef whose kitchen design was used in “Ratatouille”). Don’t rush it, but spend the time you need to in a relaxed yet steady manner.

  • Assignment solutions will be posted soon after the deadline. This means submission deadlines are not negotiable.