From: Sean O'Dell Date: 2004-06-26T01:52:19+09:00 Subject: Re: Is it considered Harmful? On Friday 25 June 2004 09:35, Jim Weirich wrote: > gabriele renzi said: > > il Fri, 25 Jun 2004 16:51:05 +0200, Michael Walter > > > > ha scritto:: > >>Another reason would be that it might be useful to change the object _in > >>place_. That is, all existing references suddenly point to the new > >> object. > > > > in evil.rb (you can find it at rubyforge) you even have Object#become > > if you need it ;) > > Are there limitations on evil.rb's implementation of become? How do you > get around Guy's concerns about crashing? I don't know what crashing he's talking about, really. I see no reason for Ruby to crash unless you, as a programmer, go out of your way to abuse a feature like this such that you deliberately engineer a crash. I can deliberately engineer crashes all day long right now, without such a feature. Sean O'Dell