Re:Qt 4.5.0 released (Let the LGPL apps begin)
by poimnu on Tuesday March 03, 2009 @03:01PM
(#501877)
Not sure I'm expert enough to comment, but doesn't this make it easier to extend a class - because what you can and can't use/rely on is clear?
[ Parent
| on HN ]
Re:Qt 4.5.0 released (Let the LGPL apps begin)
by biohacker42 on Tuesday March 03, 2009 @04:05PM
(#501992)
It's a double edged sword. On the one hand, you know what APIs they've committed to and won't change.
On the other hand, often you want to extend more then they would "allow". And because you're wrapping their APIs, when those APIs change, you should only have to change your code in the one place where you overloaded them.
There's a lot of bad things said about JFC/Swing, I won't repeat them here, but it did allow you to extend almost everything.
And as a side note, GridBagLayout is powerful and elegant, despite what some people say: http://www.youtube.com/watch?v=UuLaxbFKAcc