
As your application grows in size you need to have a plan to handle the increase in complexity. The Gang of Four have some ideas that could work for you.
Code needs to have some structure, so we use things like methods, modules, and classes. As code becomes more complex, these modules and classes might also need some structure to reduce confusion and unneeded complexity. That's what we'll take a look at here.
The Code
You can find the code for each of the demos up on GitHub.