From: Jeremy Tregunna Date: 2006-07-14T07:37:06+09:00 Subject: Re: prototype-0.1.0 On 13-Jul-06, at 6:29 PM, ara.t.howard@noaa.gov wrote: > 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? > > [snip] No I'm not saying that at all. > my understanding is that the above is generally accepted behaviour > - but i'm > not sure. It is. My whole post before was in regards to ... not sure what his name is -- but whomever I was replying to -- his objection to using objects like templates; I tried to demonstrate that it's a perfectly acceptable design pattern in prototype-based languages, citing two examples. -- Jeremy Tregunna jtregunna@blurgle.ca "One serious obstacle to the adoption of good programming languages is the notion that everything has to be sacrificed for speed. In computer languages as in life, speed kills." -- Mike Vanier