List-like structures
Lists are collections of items.
2 key kinds of list:
- The array, indexed by a number.
- Items in an array are intrinsically sequential, even though you can randomly access them.
- The hash, indexed by a string
- Items in a hash are not intrinsically ordered
- The word "hash" comes from the Perl community. Sometimes python people with use other terms for this data structure.