[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Organizing sources
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 6 Jul 2012 19:07:57 +0200
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.)