On 4/25/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Nikolai Weibull wrote:
> Yes, that's the reason for the a: modifier. And yes, why are they > read-only? VimScript isn't a functionaly programming language. > Variables are mutable; arguments should be to.
Why? Vim is a good programming language, arguments as such should never be mutable. When a value can be passed back (in languages which allow it), the argument is not the value but the _address_ of the value, and that is, again, not changeable.
I'm not suggesting implementing pass-by-reference. nikolai