Hi Nicholas,

On Mon, Aug 21, 2017 at 11:38 PM, Nicholas Nethercote <
n.netherc...@gmail.com> wrote:

> I really wish our top-level namespace was "moz", rather than "mozilla".
>

Can you say why?  Is it "just" shorter?  Is it more pleasant to s/std/moz/
and vice versa?

Nick


>
> Nick
>
> On Tue, Aug 22, 2017 at 10:31 AM, Eric Rahm <er...@mozilla.com> wrote:
>
> > On Mon, Aug 21, 2017 at 8:32 AM, Jonathan Kew <jfkth...@gmail.com>
> wrote:
> >
> > >
> > > Wouldn't it be more "modern Gecko-ish", though, to drop the "ns"
> prefix,
> > > and perhaps put Auto[C]String into the mozilla namespace?
> > >
> > >
> > As Nick said, renaming all the things is a job for another day :)
> >
> > Coincidentally I have some pending changes that affect the internal
> naming
> > of all of our strings. Externally (outside of xpcom/string) there will be
> > no discernible change but I *could* move everything to the mozilla
> > namespace and drop the 'ns' prefix. We could then gradually migrate to
> the
> > new naming scheme externally. I think we'd eventually want to move the
> > include path to 'mozilla/String.h' as well if we went this route, in the
> > interim we could just have stubs that redirect to the mozilla path.
> >
> > I'm not sure how much backing that has -- we'd be going from nsString =>
> > String which is pretty close to std::string -- it would be interesting to
> > get some feedback.
> >
> > -e
> > _______________________________________________
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to