3 ms·
Not the OP but typically what people mean when they say they don’t use encapsulation is that they don’t use it to hide state, but they will still use accessibil
by kasey_junk 4y ago
Not the OP but typically what people mean when they say they don’t use encapsulation is that they don’t use it to hide state, but they will still use accessibility modifiers to limit the scope of an api.
If your state is all largely records or stdlib datastructures that you are passing to functions that only operate on state passed to them, then hidden state is just a complexity without much value.