agnus
17th November 2009, 22:54
Has anyone checked the complexity of the Qt source? What do you think about it?
I happened to check source of QString and some other Q classes today and I must say, it was a horrifying experience! :) We are talking about huge-scary-monsters!
I am no professional C++ programmer, but I do java development for a living, and I decided to get into C++/Qt for fun. Is this kind of complexity normal for all programs? For comparison I also decided to check the GTK sources and I found it orders of magnitude simpler than Qt!
-- Edit -- For example compare these:
qstring.h (http://qt.gitorious.org/qt/qt/blobs/master/src/corelib/tools/qstring.h)
gstring.h (https://dev.mobileread.com/trac/iliados/browser/upstream/glib-2.6.6/glib/gstring.h)
-- Edit -- I do realize that there is a lot less functionality to gstring; still however qstring seems like a monster to me.
I happened to check source of QString and some other Q classes today and I must say, it was a horrifying experience! :) We are talking about huge-scary-monsters!
I am no professional C++ programmer, but I do java development for a living, and I decided to get into C++/Qt for fun. Is this kind of complexity normal for all programs? For comparison I also decided to check the GTK sources and I found it orders of magnitude simpler than Qt!
-- Edit -- For example compare these:
qstring.h (http://qt.gitorious.org/qt/qt/blobs/master/src/corelib/tools/qstring.h)
gstring.h (https://dev.mobileread.com/trac/iliados/browser/upstream/glib-2.6.6/glib/gstring.h)
-- Edit -- I do realize that there is a lot less functionality to gstring; still however qstring seems like a monster to me.