[development] module names and namespaces

Gordon Heydon gordon at heydon.com.au
Sun Oct 17 00:06:24 UTC 2010


Hi,

Where the real problem comes in is in projects which have multiple modules. generally when you have a single module the name of the project and module at the same, but when you have more and one module such as fb_social you start using "unregistered" namespaces.

Gordon.

On 17/10/2010, at 7:33 AM, Dave Cohen wrote:

> But isn't the entire "fb_social" namespace within the "fb" namespace?
> 
> On Saturday 16 October 2010 09:54:09 Daniel F. Kudwien wrote:
>> The fb_social module is therefore violating namespace rules.  It may only use
>> names within the "fb_social" namespace, but not "fb".
>> 
>> There are more complex namespace problems with module names and hooks, but this
>> case sounds like the easy case.
>> 
>> sun
>> 
>> 



More information about the development mailing list