Integration vs tight coupling (was Re: A Qt replacement for KGlobal::ref and deref)

Albert Astals Cid aacid at kde.org
Wed Feb 9 21:50:03 GMT 2011


A Dimecres, 9 de febrer de 2011, Stephen Kelly va escriure:
> (Creating a new thread)
> 
> Albert Astals Cid wrote:
> > A Dimecres, 9 de febrer de 2011, Stephen Kelly va escriure:
> >> You seem to be
> >> challenging the idea that less internal dependencies in kdelibs is a
> >> good thing, but I think that's for a separate thread anyway.
> > 
> > Not sure if Christoph does, but i do, less internal dependencies is a bad
> > idea as it will lead us to either less functionality or repeated code.
> 
> How so? The libraries that are in kdesupport (such as attica to pick the
> first) could just as easily be in kdelibs. If it was in kdelibs, would you
> object to moving it out? What loss of functionality or repeated code would
> occur if attica was moved out (imagining it was in to begin with).

Of course attica won't lose any functionality becuase it is Qt only already. 
But if attica had been designed to be a KDE library and not as a Qt-only 
library it would be using KLineEdit instead of QLineEdit, so obviously moving 
it out of kdelibs (which i guess in your world means stop using KLineEdit) 
would be a functionality loss.

Albert

> 
> We could simply make it a goal (or condition) of modularisation to not end
> up with less functionality or duplication.
> 
> > Less mandatory internal dependencies via plugable
> > backends/functionality/whatever might be a good idea though.
> > 
> > Albert




More information about the kde-core-devel mailing list