From: ara.t.howard@... Date: 2006-07-14T07:29:33+09:00 Subject: Re: prototype-0.1.0 On Fri, 14 Jul 2006, Jeremy Tregunna wrote: > If you have a system like Io or NewtonScript which use a differential > inheritance model, only the changes from the object you are cloning will be > attached to your object, so you can change this template at a later time, > and anything that any object that cloned from it hasn't changed, will > receive those changes as well when they're used. i don't know too much about prototype based coding - but are you saying this is 'normal/correct/intended' behaviour? jib:~/eg/ruby/prototype/prototype-0.2.0 > cat b.rb require 'prototype' a = prototype{ x 42 } b = a.clone a.extend{ y 42 } b.x 42.0 p a.x #=> 42 p a.y #=> 42 p b.x #=> 42.0 p b.y #=> 42 jib:~/eg/ruby/prototype/prototype-0.2.0 > ruby -Ilib b.rb 42 42 42.0 42 my understanding is that the above is generally accepted behaviour - but i'm not sure. cheers. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama