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

List:       kde-devel
Subject:    Re: got it! ;)
From:       Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date:       1999-06-15 11:11:58
[Download RAW message or body]

Stephan Kulow wrote:
> 
> David Faure wrote:
> 
> > It's a matter of taste (and habit), but I think it would make
> > it easier for the new developers to understand that it's a macro,
> > and not a private member or whatever it could be...
> >
> > kapp is easy to understand, but when one sees locate() in a c++ file,
> > how can he guess that it's a macro, and that it's defined in kstddirs.h ?
> >
> Well, what we can do too is to make locate an inline function, which
> just passes
> it's argument. It's the better idea anway. I will change that now. Die
> macros, die.
> 
Well, I didn't made it an inline function, just a normal function.
That's
was another problem with this macro - you had to include kglobal.h to
make
it work, which is not very good.

OK, now we have i18n and locate - both functions made to make code more
readable.

Greetings, Stephan

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

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

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