[RFC] Solid and use of namespaces

Guillaume Laurent glaurent at telegraph-road.org
Sun May 21 15:41:22 BST 2006


On Sunday 21 May 2006 09:33, Aaron J. Seigo wrote:
>
> i like namespaces because it communicates the natural grouping of classes.
> in this case i highly doubt one of the Network classes will end up in the
> Power namespaces upon refactoring.

"Famous last words" :-). It's also possible that we find the Power and Network 
namespaces aren't the best possible separations after all.

> in clear cut cases such as these it encourages the library writer to think
> about which belongs where as opposed to just adding things here and there
> without thought.

It also makes the design much harder to revise, and will make for more verbose 
client code. I really think this is not the good idea it may appear to be.

-- 
Guillaume.
http://www.telegraph-road.org




More information about the kde-core-devel mailing list