This week: scala for imperative programming.
Lecture 3.1 - Functions and State
So far: pure functional programming
→ side-effect free: therefore time doesn't matter.
Any rewriting that terminates lead to the same solution. (Churcher-Rosser Th)
Now: mutable states
Stateful objects: objects can have state that change over time. (state is …