-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Feb 12, 2007 at 09:49:46PM +0100, David Nečas (Yeti) wrote:
> On Mon, Feb 12, 2007 at 02:05:27PM -0600, Shixin Zeng wrote:

[...]

> > 2)How its intefaces handled, when a class is derived? Will the child
> > classes possess the same interfaces, if they don't want to reimplement
> > them?
> 
> Yes, it will (a non-transitive is-a relation would be very
> very strange).

Ha! Gotcha. When talking about interfaces you might rather say
"implements-a" rather that "is-a" :-)

I do belong to the camp that believes that interfaces are just poor man's
multiple inheritance (whether you believe that or not deends, I think,
on whether you maintain that an object is defined by its behaviour).

But don't take me all too seriously here, I tend to be an OO heretic and
risk every time getting burnt .-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF0eKUBcgs9XrR2kYRAlfXAJwNLH77FITeugw9UG0v3HC/LOnPJACfVa43
AOGxRJF92AgXVDIPvsRVkBU=
=Oqsg
-----END PGP SIGNATURE-----

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to