Programming tips

In the larger example above, we were following the advice given here.

Using OOP to separate concerns also makes it easy for testing those objects in isolation.