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

List:       kde-core-devel
Subject:    Re: KConfigIniBackend::stringToPrintable optimization patch
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2009-05-29 11:57:54
Message-ID: 20090529115754.GA23111 () troll08 ! nokia ! trolltech ! de
[Download RAW message or body]

On Fri, May 29, 2009 at 12:07:40PM +0200, Frank Osterfeld wrote:
> On Friday 29 May 2009 11:33:15 Oswald Buddenhagen 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?
> 
that doesn't matter. i use "char c, *cp", therefore i use
"char *buffer_pointer;", therfore i use "char *m_mainWindow;".
and i don't consider it a sacrifice. i read the code like the language
is defined, and i *like* it that way.

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

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