[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (work4) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 3 Aug 2010 10:04:24 -0300
> > It was and still it is up to the developer to choose whether to create
> > globals. Now the "usual practice" seems so simple that it does not
> > deserve a helper function. Just write this:
> I got the part that you are deprecating 'module' because it does not
> seem so useful anymore (a sign that the language itself got better
> ;-). I just got curious because you sounded like you were changing
> something about the way modules are loaded or should be written.
Depending on what you mean by "should", changing the "usual practice"
changes the way modules should be written. Now modules should not
create global variables (although they can do it).