lua-users home
lua-l archive

[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.)