From: Sergey Volkov Date: 2006-06-11T12:31:52+09:00 Subject: Re: Why the lack of mixing-in support for Class methods? ----- Original Message ----- From: "Yukihiro Matsumoto" To: "ruby-talk ML" Sent: Saturday, June 10, 2006 12:28 PM Subject: Re: Why the lack of mixing-in support for Class methods? > [skip] > > But I am still not sure if we need to provide the way to inject module > methods to a class's singleton class at the same time instance methods > are inherited to the class. Could somebody elaborate? It seems that > having two separate modules (one to include for instance methods and > another to extend for class methods) is more natural for me. > > matz. It's natural and more "perfect". Perfect means "nothing can be removed", not "everything was added", so why complicate the language by adding one more shortcut if required functionality is already available and can be implemented in library? Who likes Ruby to follow C++, CommonLisp, Java, Perl way? May be it's time to remove extra features to make Ruby flawless? Sergey