Re:The use of `class` for things that should be simple free ...
by kortilla on Sunday May 31, 2020 @03:00PM
(#23371739)
It sounds like you’re confusing side effect free code with OOP. You can use OOP while having side effect free stuff that never requires you to assert internals.
Whether you make it private or not hidden state leaks into the output since the output is dependent on it.