Header files (Re: A little review of kdecore & kdeui)

Stephan Kulow coolo at kde.org
Thu Apr 13 15:18:11 BST 2006


Am Samstag, 8. April 2006 01:00 schrieb David Faure:
> > But independant of that I see the existance of two headers (KFoo and
> > kfoo.h) responsible for the same thing (defining a class) to only cause
> > confusion. Header file redundancy is at least as bad as code duplication
> > ;)
>
> I would compare it more to convenience methods - they, too, forward to the
> place where the actual work is being done. It's no actual content
> duplication, only aliases.

Just for reference: I agree with David. I'm not sure if it has to do be done 
during make install, but it will depend if someone is able to hack it into 
cmake :)

And no: I don't think we should mass convert our current #includes - just in 
case someone is asking.

Greetings, Stephan




More information about the kde-core-devel mailing list