[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: changes in 'require'
- From: Edgar Toernig <froese@...>
- Date: Sat, 9 Jul 2005 04:21:09 +0200
Roberto Ierusalimschy wrote:
>
> 1) Following Diego's suggestion, require "a.b" would first require "a".
IMHO that would be wrong. That assumes the "a" is the core of "a.b".
Shouldn't it be that "a" is the complete package and "a.b" a subset?
How is "a" supposed to require anything else in "a", i.e. "a.c"?
You instantly get cyclic references - IMHO a bad idea.
If you really want some automatism, you could load "a.common" or "a.core"
or something like that on a require"a.b". But is it really necessary?
"a.b" could do that by itself ...
Just my 2 cent, ET.