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

Volker Krause vkrause at kde.org
Tue Feb 5 20:10:13 GMT 2008


--===============0513144256==
Content-Type: multipart/signed;
  boundary="nextPart4163475.mIXFYg9f0a";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart4163475.mIXFYg9f0a
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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)
> > {
> > =A0 mycommand(no_capital_letters);
> > =A0 if (whatever) oneliner();
> > =A0 if (stuff)
> > =A0 {
> > =A0 =A0 firstcommand();
> > =A0 =A0 nextcommand();
> > =A0 }
> > }
> >
> > 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 nobo=
dy
> will ever agree upon. By choosing the kdelibs style you also make it easi=
er
> for kde developers to switch between "coding in kdelibs" and "coding in
> kdepim" (and any other module that adopts the same style).

What about just keeping the established style we already have for KDE PIM:
http://pim.kde.org/development/coding.php ?

regards
Volker

--nextPart4163475.mIXFYg9f0a
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQBHqMKlf5bM1k0S0kcRAqqOAKCEe8tJ4d4yCWybVBxy77Ce5nLQHQCfePno
8G+9O2DwG/sCNEVDFqRT5NA=
=8wqS
-----END PGP SIGNATURE-----

--nextPart4163475.mIXFYg9f0a--


--===============0513144256==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/
--===============0513144256==--




More information about the kde-pim mailing list