3 ms·
You're right; encapsulation doesn't mean mutable state; it means combining code and data (making a capsule). Lisp list aren't ... whatever you call those state
by kazinator 10y ago
You're right; encapsulation doesn't mean mutable state; it means combining code and data (making a capsule).
Lisp list aren't ... whatever you call those stateful collection things that you can mutate with a list.add(42) type code that people are used to in a lot of scripting languages nowadays. That will trip up people who are used to that sort of thing.