2 ms·
I would argue that it less adds cognitive load than it shifts that load from other portions of the language. Dealing with references makes some operations (suc
by kbenson 11y ago
I would argue that it less adds cognitive load than it shifts that load from other portions of the language. Dealing with references makes some operations (such as telling if two variables contain the same data in memory) very easy, while making others (such as top level access to hash/array items) harder. I think that it makes some advanced operations easier to understand at a glance and reason about at the expense of those unfamiliar with the language (or references in general).