Day 2: Collection Types
So far we have looked at how we store single items of data. However storing everything as a simple data type is very limiting.
Today we are going to look at how we create groups of data.
We are going to cover:
- Array: you can think of these like lists
- Sets: like arrays but a little more controlled
- Objects: storing information as a group
- Maps: like objects but a little more controlled
The two most commonly used types are Arrays and Objects however Sets and Maps have there place and it's important to have an awareness about them.
Let's go ➡️