lua-users home
lua-l archive

Re: Organizing sources

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


2012年7月6日 Paco Willers <paco.willers@gmail.com>:
> That's interesting. Is was wondering too. When to use a module (require) and
> when to use dofile...
I use require if and only if the code is general enough to share over
several projects. In that case, I get my sysadmin to put the module
in a system directory. (That's not hard — it's me.)

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