[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Globals vs. Locals
- From: Glenn Maynard <glenn@...>
- Date: Fri, 5 Aug 2005 19:21:52 -0400
On Fri, Aug 05, 2005 at 05:19:29PM -0300, Roberto Ierusalimschy wrote:
> > but it's wrong, IMO, to say "since it's not local, it's like Lua with
> > global defaults". :)
>
> I did not say that. What I said (or tried to say) is that
> local-by-default is hardly what most major languages do. I was not
> defending Lua. I was only attacking local-by-default...
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).
--
Glenn Maynard