From: Enric Lafont Date: 2002-11-04T19:04:40+09:00 Subject: Re: Thoughts on Ruby Bulat Ziganshin wrote: >Hello Enric, > >Monday, November 04, 2002, 12:50:35 AM, you wrote: > >EL> = is an assignement and == is a comparission, the primitives are >EL> diferent but both can be methods (look at Smalltalk if you need some >EL> examples) > >how this can be done in current ruby object model? > >are you know that '=' just copies pointer to obect? > Yes it's my fault, there are not "=" (assign) primitive in Smalltalk, there are some bytecodes that do the work (assigning), but it's the compiler the one that generates those bytecodes. Enric