What I meant was that there's only one way of passing things in Lua/Python/..., and that is by reference. I don't know why us, who started with languages where it was important to understand the difference between passing by value or by reference, tend to drag that distinction to dynamic languages and try to explain it there. But in the end it unnecessarily confuses people who never learned C/Pascal/...
|