[Kde-pim] coding style (Re: New Maintainer of KMail)

Till Adam till at kdab.net
Tue Feb 5 19:50:09 GMT 2008


On Tuesday 05 February 2008 20:39:42 David Faure wrote:
> On Tuesday 05 February 2008, Thorsten Staerk wrote:
> > No, especially if you just change the policy so it fits to:
> >
> > QString bar(int i)
> > {
> >   mycommand(no_capital_letters);
> >   if (whatever) oneliner();
> >   if (stuff)
> >   {
> >     firstcommand();
> >     nextcommand();
> >   }
> > }
> >
> > this is just my opinion of course. Now is the time to do a change!
> > innerCapitals are annoying because you never know if command-parts are
> > withIn one word or if they are two words.
>
> Huho, a discussion on coding style, we can hear the bikeshed coming...
> I recommend adopting the kdelibs coding style (which is quite close to the
> Qt coding style but a bit more adapted to opensource development), which is
> a much better idea than debating over N different coding styles that nobody
> will ever agree upon. By choosing the kdelibs style you also make it easier
> for kde developers to switch between "coding in kdelibs" and "coding in
> kdepim" (and any other module that adopts the same style).

I agree. Death to 2 spaces! ;)

-- 
Till Adam
KDAB - platform independent software services
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list