KConfigIniBackend::stringToPrintable optimization patch

Frank Osterfeld frank.osterfeld at gmx.de
Fri May 29 11:07:40 BST 2009


On Friday 29 May 2009 11:33:15 Oswald Buddenhagen wrote:

> On Fri, May 29, 2009 at 10:41:38AM +0200, Mirko Boehm wrote:

> anyway, that whole argumentation makes no sense unless you completely
> forbid char *foo, bar, **baz;
> style declarations. while i agree that using this c[++] feature is not
> so nice in declarations of class members and global objects (both of
> which should have expressive names), i'll readily laugh in the face of
> anyone who tells me not to use "char c, *cp;" or the like in a function
> with 10 lines.

Personally I wouldn't sacrifice readibility of ~99.5%ish of all pointer 
occurrences for consistency with the other ~0.5%. How often do you actually 
see "char c, *cp" etc. in Qt/KDE code?

Frank





More information about the kde-core-devel mailing list