Re: Do you currently use namespaces?

new topic     » goto parent     » topic index » view thread      » older message » newer message

c.k.lester wrote:
> 
> In BBCMF, I've got a long list of includes. The includes at the bottom
> depend on includes at the top. Is there a better/preferred way? Here's
> an analogy:
> 
> -- 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.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu