A Little Story¶
Let’s imagine that we analyze gene data of wild animals for our research. To do so, we have a huge amount of samples from various specimens that need to be tracked, catalogued and analyzed.
We will start out simple and track the ID numbers of each sample. A list will do the job fine.
To give proper credit, we should also track who collected the samples. So… how about a second list?
Do Task 1 now
We obviously need a better way to model more complex data. For that purpose we introduce the idea of an object. An object represents an amount of data that belongs together in the context of a program. In our example each collected sample could be represented by an object: