[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Deep __newindex on assignment?
- From: Peter Cawley <lua@...>
- Date: Tue, 22 Dec 2009 22:54:30 +0000
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.
- References:
- Deep __newindex on assignment?, Todd Berkebile
- Re: Deep __newindex on assignment?, Alexander Gladysh
- RE: Deep __newindex on assignment?, Todd Berkebile
- Re: Deep __newindex on assignment?, Peter Cawley
- RE: Deep __newindex on assignment?, Todd Berkebile
- Re: Deep __newindex on assignment?, Peter Cawley
- Re: Deep __newindex on assignment?, Alexander Gladysh
- Re: Deep __newindex on assignment?, Ted Unangst
- Re: Deep __newindex on assignment?, Alexander Gladysh
- Re: Deep __newindex on assignment?, Javier Guerra