lua-users home
lua-l archive

Re: modules, require, magic

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


If you want a language that only adds features for everyone's tastes and never removes features, maybe Lua is not the answer for you.

On 2011年10月17日 6:58 PM, "Petite Abeille" <petite.abeille@gmail.com> wrote:


On Oct 17, 2011, at 11:39 PM, Pierre Chapuis wrote:

> This solution doesn't allow concatenation of...

Nor naming of module, as now you rely on the require mechanism to do so. Nor environment isolation, as you are always working in the global one. Etc, ...


> but this is
> a small price to pay for a simple, understandable module mechanism.

Sure. If that works for you, then more power to you. But why would you want to take away module from everybody else, when you are not even using it yourself? Puzzling.



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