inheritance vs composition with gtkmm
- From: Joe Van Dyk <joevandyk gmail com>
- To: gtkmm-list gnome org
- Subject: inheritance vs composition with gtkmm
- Date: Tue, 24 Jan 2006 10:25:16 -0800
In most of the gtkmm examples, I notice that inheritance is used for
almost all the GUI objects.
I've always thought that you should favor composition over inheritance.
Anyone have thoughts on the matter? Does using inheritance make
things easier with gtkmm? I guess from a readability, testing, speed
of development, and maintance viewpoint.
Thanks,
Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]