lua-users home
lua-l archive

Re: _ENV vs _G

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


2014年08月12日 13:51 GMT+02:00 Jay Carlson <nop@nop.com>:
> I have a lot more code using _G than hyperbolic trig.
> Possibly +inf times more.
In other words, you have a lot of Lua 5.1 code.
"Conceptual integrity" deals with whether something in older
Lua fits in neatly with current thinking about where Lua is going.
A kind of Occam's razor. I agree with Mason that _G is a mere
evolutionary relic whose presence in the manual is confusing.

AltStyle によって変換されたページ (->オリジナル) /