4 points
Immutable members. Set in constructor then read only. The Builder pattern is acceptable if you’re language is an obstacle.
7 points
1 point
3 points
3 points
You avoid having mutable state as much as possible. This is a pretty standard concept these days.
2 points
Can you please give me an example - let’s say I have a big list of numbers and I need to find how many times each number is there.
I would expect a mutable dictionary/map and a single pass through. How would you do that without mutable datastructure?