On 4 February 2011 17:05, Tom Albers <t...@kde.org> wrote: > ----- Original Message ----- >> It >> is when I have to unnecessarily type more than I have to. Seriously >> this is getting to be annoying and I do not mean you personally. These >> rigid and brittle coding styles. One project says no braces for single >> line statements and another says the complete opposite. I have no >> problem with some common sense coding style rules, but please spare me >> from such nonsense micro management of each and every line of code, >> specially since the people working on kdelibs should in the least be >> well versed about the pitfalls of using or not using braces, even for >> single line statements. > > For new code, we very much like to follow: > http://techbase.kde.org/Policies/Kdelibs_Coding_Style > > Which can be different in other area's within KDE, which I hope one day will > not be the case. > > And before you ask, yes, I very much would like a 'astyle' run on all the > code in kdelibs to settle this once and for all.
And then how about a .kateconfig file (http://kate-editor.org/2006/02/09/kateconfig-files/) to help 'enforce' this? -- Matt Williams http://milliams.com