Re: Do you currently use namespaces?
- Posted by Jeremy Cowgar <jeremy at cowgar.c??> May 26, 2008
- 1030 views
ken mortenson wrote: > > > You say myprog.ex can't access a:hello() in any way. Got that. But again, > a include c, b include d. If I understand correctly, then myprog.ex could > call c:hello() or d:hello() even though they are not declared in myprog? > > If so, this is not a good module. However, I get the impression this is > still an issue under discussion. I'd like to see how the result encourages > modular thinking. Wait.. I think I misunderstood in my previous reply. Are you saying that if include c defines a function for export and myprog.ex includes c directly that it *shoulnd't* be able to access it? That that is bad modular programming? -- Jeremy Cowgar http://jeremy.cowgar.com