[fpc-pascal] Re: [Bulk] Re: Namespaces Support

Marco van de Voort marcov at stack.nl
Tue Oct 29 15:10:27 CET 2013


In our previous episode, Graeme Geldenhuys said:
> > Both guys (while living on different parts of the world) created the 
> > same "douglas" namespace!
> 
> OK, ok, my example was bad. I would apply the exact same namespace 
> rules as recommended by Java. In a real situation you should use your 
> domain name for the namespace.
> 
> But I get what you say... conflicts could still occur. And so too in 
> Java, but the usage of the "company domain name as namespace" greatly 
> reduces the chances of a conflict.

Only if you use fully qualified unitnames only. As soon as you start
messing with scope prefixes you risk conflicts again.



More information about the fpc-pascal mailing list