[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Refcounting, namespaces, const qualification
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] Refcounting, namespaces, const qualification |
Date: |
Tue, 15 Oct 2002 19:15:13 +0200 (MET DST) |
> > > There is a C++ proverb which says "do not use a class when you need a
> > > namespace". It would be probably easier and cleaner to just put all
> > > those global variables in a 'TeXmacs' namespace, and maybe some nested
> > > namespaces (e.g. edit, typeset, gui).
> > >
> > > By the way... enums are namespace savyy, cpp symbols are not.
> >
> > I just heard from a g++ developer that namespaces can cause severe
> > problems when porting to Windows. Even though they are standard by now,
> > we should temporarily be reluctant to use them...
>
> That VC++ is borken piece of shit is old news. I would like to hear
> the experience of windows developpers, especially with other
> compilers.
That is the experience I told you.
I prefer to wait with all further style-like changes and
other in-depth C++-related changes until we have ported TeXmacs to
a maximal number of platforms.
So let us postpone this kind of discussions until that moment.