From: Christoph Date: 2002-09-10T10:33:00+09:00 Subject: Re: Larry Wall's comments on Ruby "Yukihiro Matsumoto" wrote .... > Marcin 'Qrczak' Kowalczyk wrote > > |A problem in making all functions methods of the class of their most > |important argument is IMHO the largest flaw in Ruby: that all method > |names of the given class are put in a single namespace! And class > |names generally too. > > I'm not sure if you're talking multi-method like one in CLOS, or other > namespace issue. > > I don't take multi-method just because it does not fit in traditional > OO model, which I prefer. A method does not belong particular class > anymore. However (multi)-methods could ``belong'' to several (specified) classes. This does seem to be very popular and is certainly more difficult to implement but I find this much more natural than the traditional OO-model. The most prominent example, is the completely unnatural choice of the left summand as a method receiver in additions ``a + b''. /Christoph