style guide
Boudewijn Rempt
boud at valdyas.org
Tue Feb 5 16:53:05 CET 2008
Hi,
Just a quick note:
I've added a new item to the hacking guide: "use the symbolic operators
instead of the keyword operators", for the following reasons:
* consistency: I don't like one style better than the other, but I do want one
style in our code. The keyword operators were not used consistently,
sometimes not even in the same line. It is not possible to enforce not using
the symbolic operators (also because the library headers use them), and it is
possible to enforce not using the keyword operators.
* familiarity: while we have been hemorrhaging developers in the past 18
months, I still hope we will be able to grow our developer base after the
first beta release. I want code that's as familiar to the average C++/Qt
developer as possible.
* compatibility: it is desirable to not have to include an ugly MSCV
conditional in every file where a stray 'and' or 'or'. It is something that
can be overlooked quickly, and then our porters (who are doing great work)
have more work again.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
More information about the kimageshop
mailing list