---
# System prepended metadata

title: Lecture 14 Setup/Prep
tags: [Setup-Summer21]

---

---
tags: Setup-Summer21
---

# Lecture 14 Setup/Prep

Today, we start a new topic: how to properly organize a larger program around classes and interfaces. We'll do this by taking an initial (working) version of a program to manage bank accounts, identify flaws with the program, then modify the organization to address the flaws. 

Last class, we looked at the initial code and identified flaws. This class, we'll start fixing them.

## Prep

Here's the [starter package](https://brown-cs18-master.github.io/content/lectures/13accessEncap/lec13init.zip). Here's a one-page version of the [initial code (PDF)](https://brown-cs18-master.github.io/content/lectures/13accessEncap/single-page-starter.pdf), which you might find helpful for taking notes on (Kathi will be marking up a copy of the PDF during lecture).

As you think about possible flaws, think about what might go wrong using this code. Don't just think about the program does what it should. Also think about what the program might allow that it shouldn't.