Re: Conceptual problem with module
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Conceptual problem with module
- From: Mark Hamburg <mhamburg@...>
- Date: 2006年4月27日 07:44:09 -0700
on 4/27/06 3:09 AM, Luiz Henrique de Figueiredo at lhf@tecgraf.puc-rio.br
wrote:
>> Having require extend the global namespace is a runtime error waiting to
>> happen.
>
> 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.
Yes. I meant "module". Oops.
Mark