[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KConfigIniBackend::stringToPrintable optimization patch
From:       Frank Osterfeld <frank.osterfeld () gmx ! de>
Date:       2009-05-29 10:07:40
Message-ID: 200905291207.41113.frank.osterfeld () gmx ! de
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic