Re: Do you currently use namespaces?
- Posted by c.k.lester <euphoric at c?les?er.com> May 26, 2008
- 1012 views
Matt Lewis wrote: > c.k.lester wrote: > > -- bbcmf.e > > include a.e > > include b.e > > include c.e > > include d.e -- relies on a, b > > include f.e -- relies on c, d > > include g.e -- relies on d, f > > > > -- index.esp -- the main program > > include bbcmf.e > > d,f and g should make certain to include any file they need. Then, even if > your main file doesn't use one of the dependencies, you'll still have > working code. That seems to violate DRY... Or doesn't it? But, I can see the case for including dependencies. How much more memory does this require, or does the interpreter see that I've included something earlier and it can just use that copy?