On Thu, Dec 15, 2011 at 8:22 AM, Darin Adler <da...@apple.com> wrote:
> The namespace name Platform is OK.
>
> I’m concerned that this is over-use of namespace and will make WebCore code 
> overall harder to read. One of the notable features of the classes in the 
> platform directory is that they fit in smoothly and are easy to use in 
> WebCore. Being in the same namespace as the rest of WebCore is part of that.
>
> If we do use a namespace, we’ll have to decide whether to use it in a 
> conventional way or use it with the “put using in header” technique that we 
> use, somewhat controversially, in WTF.

My inclination is to "put using in the header" for exactly this
reason.  I'm hopeful the namespace be useful in preventing
dependencies in the other direction, where WebCore namespaced types
are used in Platform.

Adam
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to