2 ms·
Not responding to your question directly but I just want to mention that if you mark your class as mutable and use mutable instances, you can write code as you’
by vjeux 8y ago
Not responding to your question directly but I just want to mention that if you mark your class as mutable and use mutable instances, you can write code as you’d expect from other languages. The only downside is that you can’t pass those values to a memoized function unless you do a deep copy.