* Sylvain Joyeux <sylvain.joyeux / polytechnique.org> (09:50) schrieb:

> In most cases, it is not a problem: I represent the fact that
> TakePictureAt(x, y) is in fact a sequence of MoveTo(x, y) and a
> TakePictureNow. It is therefore possible to repesent the thing with
> single inheritance.

That is not a is-a relationship, it is a sequence that contains
TakePictureNow and MoveTo. Can't you freely arrange other Actions in
sequences? How do you model that?

> But there are cases where this kind of separation cannot be done --
> hence the need for one class to be an implementation of multiple
> models.

And how do they look like?

And where do you need kind-of? Such a question is not very OOP.

mfg,                     simon .... l