On Friday 18 January 2008 13:22, Matt Emson wrote: > Vinzent Hoefler wrote: > > On Friday 18 January 2008 12:35, Bee wrote: > > > > Namespaces are too flat and simply not powerful enough to justify > > the implementation and maintenance effort. > > And units are better because...?
*Child* units are better, because they provide both _compiler checked_ namespaces and clearly defined visibility rules. Namespaces don't. Namespaces are ugly C++ hacks from the time where the only namespace lied in the hope that a 6 letter identifier (where the first 2 letters were the initials of the programmer, two digits the project number and with the remaining two significant characters freely available to the programmer with the first one required to be an underscore[1]) would still link with the third party library from the vendor without having duplicate symbols to resolve. Vinzent. [1] All this naming convention may sound like a joke. Actually, it isn't.[2] [2] It may be a bit exaggerated, though. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal