[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: use of namespaces in KDE (was: Re: koffice/kimageshop/tools)
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-12-28 18:12:53
[Download RAW message or body]

Matthias Elter wrote:
> 
> Harri Porten wrote:
> >
> > CVS by elter wrote:
> (...)
> > > Log Message:
> > > Core classes are now prefixed with "Kis" to avoid name clashes.
> >
> > How about a namespace ? Makes the code a bit less ugly.
> 
> Yes I know, but unfortunately I get name clashes with KParts in classes
> like Kis::Doc.
> IMO its very bad to name classes in kdelibs "View" "Shell" or "Doc". Can
> this be moved into a namespace for the new kparts or at least make it
> use a class prefix like "KP"? I'm going to rename my stuff to
> "Kis::_Doc" for now.
> 
> By the way, I don't like the fact that KDE is using namespaces _and_
> class prefixes. Can we agree on a standard to use only namespaces _or_
> prefixes. With namespace support in most modern c++ compilers I vote for
> namespaces.

You want to rename KURL to KDE::URL? I don't like this too much.

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic