On Fri, 28 Jan 2005 07:54:42 +0900, Mathieu Bouchard wrote: > > On Fri, 28 Jan 2005, Aredridel wrote: >> On Fri, 2005-01-28 at 06:34 +0900, Mohammad Khan wrote: >> > Objection on # 2 >> > Everything is *not* object. >> > By believing the quote 'in Ruby, Everything is object' already made >> > my life hard. :p >> >> All but variables are... > > All but variables, Variables are placeholders for objects. Though there may be a good point here (since variables can refer to more than one object). > blocks (which are not Procs), Blocks are objects. Even anonymous blocks, thought they cannot be manipulated as such (they are anonymous, right?). > methods (which are not > Methods and not even UnboundMethods, which are both mere wrappers) and, Methods are part of objects. So they do belong to the object-system. > for all practical purposes, every single bit of code, because even > though Ruby stores all the method code as trees of objects ("AST"), > those are not exposed to the user, so they don't count. That's implementation specific, but the Ruby language doesn't specify that, so it isn't strictly part of the language. For example a Ruby program could be converted to a fpga, or will run in the future on some weird hardware that we cannot imagine now. Kristof