Einar Karttunen (ekarttun / cs.helsinki.fi) wrote: > Ruby and CL have often different ways of expressing things naturally. > So the easiest idioms and patterns will probably differ a bit. > CLOS is centered around general functions and multiple dispatch, > while Ruby object system uses methods in classes with single dispatch. Yes, it's true. Ruby implementation will require to do it more in a <<Ruby Way>>, and leave Lisp idioms behind. > Ruby has eval and the ablity to inject methods into objects. So you can > emulate that in ruby to an extent, but it may not be very natural. OK. Let's see how "natural" it will become. > > b) the "eql"-specialisation feature that allows specialisation of > > methods down to single instances of a class, and > > You can redefine methods on a per object basis in Ruby. This should > provide facilities comparable to eql-specialisation. That's useful info. > > c) the multi-method dispatching paradigm > > No. You can play around and simulate multiple dispatching but its not > supported in Ruby (or in most other main stream languages). Matz gave the same reply :-) so we have to make proper design not depending on it. Thank you for your reply. Sincerely, Gour -- Gour gour / mail.inet.hr Registered Linux User #278493