[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Globals vs. Locals
- From: Glenn Maynard <glenn@...>
- Date: Fri, 5 Aug 2005 20:24:43 -0400
On Fri, Aug 05, 2005 at 07:02:40PM -0500, Rici Lake wrote:
> On 5-Aug-05, at 6:21 PM, Glenn Maynard wrote:
> >But pointing to code that *uses* variables in other languages is
> >irrelevant, if you're talking about code that *declares* variables.
> >"i = 0" doesn't declare anything (in C).
> i = 0 doesn't declare anything in Lua, either.
"declaring" is entirely different in Lua and C (the word hardly applies
to globals in Lua). That's why the comparison seems mostly meaningless.