Also your class creation example is just talking about language semantics. It'll never be a pure function (can't be - has to hold state) but it IS a pure object under the hood.
Also your class creation example is just talking about language semantics. It'll never be a pure function (can't be - has to hold state) but it IS a pure object under the hood.