lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Dec 22, 2009 at 10:49 PM, Javier Guerra <javier@guerrag.com> wrote:
> - variables reference values
> - simple assignment and function parameters copy variables (that is,
> references), not values

For people from a strong C++ background, it might be better to compare
variables to pointer types rather than reference types, as Lua
variable assignments are closer to C++ pointer variable assignments
than C++ reference variable assignments.