[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Namespace for 'require' (was: Re: LuaSocket & require & 5.1 howto?)
- From: Adrián Pérez <copylight@...>
- Date: Mon, 07 Feb 2005 01:40:31 +0100
El 06/02/2005, a las 22:45, Mike Pall escribió:
Maybe we should adopt the Python convention for naming mixed modules?
C modules get an underscore tacked in front of the module name. [...]
I used that trick for a small test module I made when integrating the
new packaging system with LuaCheia, in order to test loading of mixed
binary+script modules. I think it's a fairly good convention that you
can bypass if needed, because it's not enforced by the language nor by
the packaging system.
Just my 2 cents ;-)
--
Adrian Perez
GPUL/CLUG member » http://gpul.org
Keyboard Error: Press F1 to resume.
Attachment:
PGP.sig
Description: Mensaje firmado digitalmente