What You Will Get Out of This Chapter
This chapter will introduce the basic concepts of encapsulating your code into containers that can be used later. Think about it; if you wrote a sorting algorithm that would be able to organize a bunch of values from largest to smallest, you would need to repeat the entire algorithm elsewhere if you wanted to use it in other parts of the application. This does not make any sense. Furthermore, if you have a bug in your algorithm, you would need to go over every single copy of it and fix it. What a waste of time!
There is a better way. That ...