Re: Do you currently use namespaces?
- Posted by Jeremy Cowgar <jeremy at c?wgar.co?> May 26, 2008
- 1016 views
ken mortenson wrote: > > > I'm sorry guys. I wasn't being clear. > > fileA.e includes fileB.e; fileB.e includes fileC.e > > Everything global in fileC is now exposed to fileA. > > This continues for every include. The end result is one big file, not a > group of modules. > > This may be a problem. It is a problem when names collide. > Ok. That is not a problem anymore when you use namespaces. In addition, we may have other changes in 4.0 that solve your issue totally, even w/o namespaces. i.e. global propagation of globals not being the case. But the later is just under very, very, very initial discussion. Once we have an idea of the impact, some possible solutions, we will undoubtedly bring it up on EUforum for discussion. However, your given example above is still invalid if you use namespaces as currently defined in 4.0, and for the most part 3.1 as well. -- Jeremy Cowgar http://jeremy.cowgar.com