Preparing terrain for kio_uiserver
Reinhold Kainhofer
reinhold at kainhofer.com
Thu Dec 21 17:21:03 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 21. Dezember 2006 17:27 schrieb David Faure:
> On Thursday 21 December 2006 16:27, Rafael Fernández López wrote:
> > Hi,
> >
> > I think that should force devs to call more methods than expected.
>
> Look at the Qt4 API, that's how it works. Simple constructors, setter
> methods.
Yeah, and now Qt feels like that nightmare called Java...
"Code less, create more" is now a slogan of the past.
- From my feeling, Qt3 automagically did a lot itself, I only had to feed it
everything I had in the constructor and be done with it. In Qt4, I have to
take care of (and remember!) every little detail myself. I suppose that
hardly any newly written code will assign a name to a widget, as it does not
immediately cause problems (only when you try to do ui debugging and get only
generic names without any meaning).
Also, reading Qt4 code, e.g. a manually constructed dialog, is so much harder,
as it will be about three to four times as large as the Qt3 code was.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFisKCTqjEwhXvPN0RAo/XAKDbqVE2T8sQyxg00KzaRRnipmhaZgCffjbX
Vwaw8JxRyI2WJAHFJbcqUX4=
=4y/A
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list