[#1378] differences between Module and Class ? — Mathieu Bouchard <matju@...>

25 messages 2003/08/11
[#1387] Re: differences between Module and Class ? — matz@... (Yukihiro Matsumoto) 2003/08/12

Hi,

[#1442] Re: differences between Module and Class ? — Mathieu Bouchard <matju@...> 2003/08/21

[#1406] _id2ref bug? — Ryan Pavlik <rpav@...>

While debugging some caching code, I've come across a segfault related

22 messages 2003/08/14
[#1407] Re: _id2ref bug? — matz@... (Yukihiro Matsumoto) 2003/08/14

Hi,

[#1413] Re: _id2ref bug? (REPRODUCED, short) — Ryan Pavlik <rpav@...> 2003/08/14

On Fri, 15 Aug 2003 01:57:18 +0900

Re: differences between Module and Class ?

From: "Sean E. Russell" <ser@...>
Date: 2003-08-24 21:34:27 UTC
List: ruby-core #1477
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 24 August 2003 15:59, Mathieu Bouchard wrote:
> oh yeah, an Array "can" Enumerable. I've been told that class names are

An Array "can" Enumerate, and that's what allows it to expose methods in the 
"Enumerable" namespace.

IME, mixins tend to be more for the benefit of the the object user, than for 
the object itself; whereas with inheritance, the functionality is of more use 
to the object that extends the superclass.

How about this perspective: mixins extend the behavior of an object, whereas 
in inheritance, the object extends the behavior of some superclass.

Again, this subthread isn't a technical discussion; I freely admit that 
everything *I'm* talking about is purely subjective.

- -- 
### SER   
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido|Dirigibles
### http://www.germane-software.com/~ser  jabber.com:ser  ICQ:83578737 
### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/SS84P0KxygnleI8RAv9gAJ4jiNZaUkibsCT//A0ZnG6WY5FR7wCgqACk
sDZvNiof623BDYrv+u2c1+c=
=aUmE
-----END PGP SIGNATURE-----



In This Thread