By Lorenzo Barasti
In object-oriented and functional programming, an immutable object is an object whose state cannot be modified after it is created
- factoring out time dependencies
- running tests concurrently
- avoiding afterAll, beforeAll
Vector is a collection type [...] that addresses the inefficiency for random access on lists. Vectors allow accessing any element of the list in “effectively” constant time.