5 ms·
Ok thanks. Looking at this from a Lisp programmer's perspective values are by definition immutable. The Swift ecosystem seems very complex.
by nickbauman 11y ago
Ok thanks. Looking at this from a Lisp programmer's perspective values are by definition immutable. The Swift ecosystem seems very complex.
- SamReidHughes 11y agoVariables can be mutated in Lisp. That's all this is.
- nickbauman 11y agoVariables are not values.
- SamReidHughes 11y agoThr point is, this is a matter of definition, in that people often use the word "value" where "variable" or "object" could be used, especially as to distinguish from references. This is common usage in other languages too. It has nothing to do with Swift being complex.