[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Conceptual problem with module
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 27 Apr 2006 07:09:38 -0300
> Having require extend the global namespace is a runtime error waiting to
Perhaps you mean "module" here, not "require" -- "require" does not
impose any policy on what the thing being required does: it simply
returns whatever the init code for the module returns.
> And as for consistency with the standard libraries, one should probably have
> to use require to get them as well.
Probably. One way to ensure this would be to have linit.c set them as preloaded,
but not call the init functions.