On Sat, Nov 3, 2012 at 10:59 AM, Justin Lebar <justin.le...@gmail.com> wrote:
>
>>It also obfuscates the visibility of the identifier,
>
> That's a problem with namespaces in general.  Do you have a reason we
> should use namespaces but shouldn't use anonymous ones (except where
> we have to), or is the argument for limiting the use of all
> namespaces?

The question of interest is "what's the visibility of this
identifier?"  |static| annotations make this obvious, anonymous
namespaces do not.  The use of non-anonymous namespaces is orthogonal
to this question.

In other words:  I don't like anonymous namespaces, but non-anonymous
namespaces are ok.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to