kdelibs coding style
Leo Savernik
l.savernik at aon.at
Mon Aug 21 20:17:07 BST 2006
Am Montag, 21. August 2006 16:44 schrieb Dirk Mueller:
> for example switch() indenting
> rules are unclear to me
While you're at it: I want to mention that Kate's smart indenter handles
switches like this:
switch(bla) {
case 1:
doWhat();
break;
case 2:
case 3:
doAgainWhat();
break;
default:;
}
I. e. the case statement is indented, too. Therefore, I ask the TWG to take
into account this existing precedent within KDE. It's less error prone to
make the rules match the code instead of the other way round (especially as
the rules don't exist yet).
mfg
Leo
More information about the kde-core-devel
mailing list