[Development] kdelibs coding style

Thiago Macieira thiago.macieira at intel.com
Tue Apr 30 18:01:51 CEST 2013


On segunda-feira, 29 de abril de 2013 23.30.59, André Pönitz wrote:
> The rules are ok as they are (pretty much as _any_ set of consistently
> applied and not-completely-weird rules). Opening them up only leads to
> more review bikeshedding.
> 
> It's not that people actively change coding style in old Qt code, and
> there's always the "don't stick to the rules if it makes you look bad"
> excuse.

Let's not try to change any of the rules, since this leads to bikeshedding, 
like André said. It clearly has already become that.

So let's just change the interpretation: the "don't stick to the rules" allows 
us to accept a slightly different style if that makes it nicer. That should be 
enough to apply to the case of braces in single-line ifs.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130430/325e5d25/attachment.sig>


More information about the Development mailing list