Object Oriented Programming
In the programs we have been developing, we have been storing information in variables and grouping relevant information in lists. However as our programs get bigger and more complicated, storing this information gets more complicated as well. Think about the following:
- Storing one student's age is simple, as it can be done in one variable.
- Storing one student's name, age, phone number, and address could be done in a list.
- Storing thirty student's names, ages, phone numbers, and addresses could be done in lists of lists, but that's getting pretty confusing.
It would be much simplier to define our own types of data, that represent the data