From: "T. Onoma" Date: 2003-11-30T12:16:37+09:00 Subject: Re: anything disappearing from Ruby for 2.0? On Sunday 30 November 2003 03:34 am, Florian Gross wrote: > I also find the module-syntax to be quite counter-intuitive, because you > have to do 'module Foo; class << self' to get real namespaces. I think > there maybe should be a separate namespace-construct. I'd also like to > rename 'module' to 'mixin', but that might be too radical. Modules are strange beasts in that they serve at least three puposes. They can be used as mixins using include, in which case they act as "pseudo" superclasses; they can be used to extend an object, in which case the become a singleton class, and thirdly they sever as simple namespaces. Quite a heavy load for the a single contruct, ey? Oh, four! They are also the foundation of Class! -t0