From: "Victor \"Zverok\" Shepelev" Date: 2007-06-06T03:55:46+09:00 Subject: Re: [ANN] prototype-2.0.0 From: ara.t.howard [mailto:ara.t.howard@gmail.com] Sent: Tuesday, June 05, 2007 6:33 AM >NAME > prototype.rb > Several small questions about the library: * Does cloned object has some connections with it's prototype (as per Io: "prototype is something knowing how to process messages I don't know") * If so, can object's prototype be changed dynamically? (I mean, b.proto = c) * And what about Io-like "prototype is context for code blocks?": block = lambda{puts a + b} block.call #=> undefined local variable or method `a' p = Prototype.new{ @a = 40 @b = 2 } block.proto = p bloc.call #=> 42 BTW, Markaby uses complicated hack to "setup context variables, while building HTML" - which is very close to the above example. * Does anybody uses it in real projects? I mean, does prototype-based approach in not prototype-based language have proved to be useful? The question is not about "throw the library away", but about "who can say, what features in library are useful", "who can recommend library for some tasks?" V.