behaviours

Fredrik Linder fredrik.linder@REDACTED
Tue Jul 29 15:07:43 CEST 2003


> From: Richard Carlsson [mailto:richardc@REDACTED]
>
> It seems to me that the distinction you're trying to make is between
> interfaces (i.e., behaviours - they *are* the same) and what is usually
> known as mixin classes (a form of multiple inheritance of
> implementations).

The distinction was more to sort out the difference between an interface and
a behaviour, but as you concluded - they are the same.

> In this respect, it is unfortunate that the term "behaviour" was chosen,
> but at the same time completely understandable since it was in fact the
> behaviour of a process, specifically a gen_server-based server, that was
> on the authors' minds at the time.

I see, there's the missing piece of my puzzle. Thank you!

/Fredrik




More information about the erlang-questions mailing list