LWN.net Logo

There is ONE exception

There is ONE exception

Posted Apr 3, 2009 15:07 UTC (Fri) by cybernytrix (guest, #5727)
In reply to: There is ONE exception by khim
Parent article: A GNOME 3.0 plan

If you see how QT throws away almost everything C++ provides and it reinvents all these:
1. Why do you need MOC? Debugging is a royal pain!
2. Why doesnt it use C++ strings?
3. Why do you need to implement introspection? Isnt C++ "high level" to provide this.
4. STL???

So on... GTK and GObject arguably does the same. What is the point of using C++ when your toolkit simply does not use many language features and invents a whole lot of crap?
Qt is a fine library and now it is even licensed as LGPL. The only feature of C++ they seem to be actively using is automatic calling of destructors and exceptions. Why bother with C++ for just these?


(Log in to post comments)

There is ONE exception

Posted Apr 3, 2009 15:24 UTC (Fri) by boudewijn (subscriber, #14185) [Link]

1) No, actually not. Debugging is painless -- at least, that's my experience over the past ten years.
2) Because they aren't half as poweful as QStrings.
3) No, C++ isn't highlevel enough.
4) All Qt container classes are compatible with the STL.

And about the features of C++ Qt uses... Well, that was just silly hyperbole, right, not an honest
question you'd like answered?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds