From: "Aleksi Niemelä" Date: 2000-07-16T14:57:18+02:00 Subject: [ruby-talk:04057] Re: What are you using Ruby for? Johann: > using SWIG to automatically wrap the C++ classes. Numeric Python is a > wonderful tool; is there anything like it for Ruby? They say there's something coming at Japan. Dunno what and when. > The fact that functions are not first class in Ruby still bothers me, > so I haven't experimented with it that much. That bothered me too, but now it seems to me that one wants to use functions only when one's hacking up some code - and Ruby is on it's best when you're really OO. So I thought really hard if there is some need for "function objects". And it seemed that there really is. I was hacking up a test where I wanted to plug-in functionality. So to see how Method objects (there are no functions in Ruby :p, just methods and procs) could be introduced and how they are introduced already: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/3972 - Aleksi