From kde-core-devel Fri May 29 10:07:40 2009 From: Frank Osterfeld Date: Fri, 29 May 2009 10:07:40 +0000 To: kde-core-devel Subject: Re: KConfigIniBackend::stringToPrintable optimization patch Message-Id: <200905291207.41113.frank.osterfeld () gmx ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=124359172730327 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