il 8 Jul 2004 11:43:32 -0700, ser / germane-software.com (Sean Russell) ha scritto:: >> You're mistaken in believing that functional programs must lack method >> calls. Scheme's CAR and CDR are just as `object-oriented' as Ruby's >> first and tail. Ruby just makes it explicit. > >No they aren't. car and cdr aren't methods on objects. They are >functions that take objects as arguments. well, I agree with the Mikael, if you consider that an Object is some state+some data+some methods (possibly the state is just a part of the data. In this view you can consider lisp as having one object (the list) and some basic methods to work on that (car/cdr). If we had method call in ruby like: method(var1,var2) from_instance myobj it would not be less OO.