Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
And yet the best free vector graphics editor, Inkscape, is written in GTKMM.
Sobotka: Why GIMP is inadequate
Posted Jan 13, 2011 6:08 UTC (Thu) by romanfi (guest, #72329)
> And yet the best free vector graphics editor, Inkscape,
> is written in GTKMM.
GTKMM is an object oriented wrapper using an object oriented programming language around an object oriented design using a non object oriented programming language. For me, that's a quirk or suboptimal workaround.
And, can you prove that GTKMM wouldn't have been better in terms of
- easier design
- faster design and/or coding
- better L&F (yes, I work with inkscape from time to time)
when using e.g. Qt instead of GTK(MM)? Because all the arguments I listed above in my answer to another posting still hold true, e.g. compatibility across platforms, documentation, stability, etc.
If Qt would already hade been GPL when the developers started writing Goll and Sodipodi, do you think they would have had selected this one instead of Qt?
Of course, one aspect must never be forgotten. Would be GTK(MM) as good as it is now without Qt, and would Qt be as good as it is now without GTK(MM)? I think you understand what I want to say with this last sentence.
Please forgive me my bad english, it's not my mother's language.
Posted Jan 13, 2011 6:16 UTC (Thu) by DOT (subscriber, #58786)
Posted Jan 13, 2011 20:17 UTC (Thu) by daniel (subscriber, #3181)
Big deal, its better than casts. Even the original QT developers agree SigC++ or similar would have been better solution but these didn't exist at the time. The practical impact on design is negligible.
By the way "dreaded" is inappropriate rhetoric in this context. You might as well say the same of the the C preprocessor.
Posted Jan 13, 2011 22:12 UTC (Thu) by DOT (subscriber, #58786)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds