From: Florian Gross Date: 2004-06-29T04:57:56+09:00 Subject: Re: [OT] Re: Is it considered Harmful? Sean O'Dell wrote: >>Oddly, Sean, when you are saying, "it worked like I said it could", >>I am hearing Guy saying, "yes - but it doesn't work like I said it >>wouldn't." > Oh no, I didn't mean it was TOTALLY stable. I just meant it appeared stable > to me and I wanted some people who knew better about the Ruby internals to > make an assessment, which is why I brought it up in ruby-core. You might not have noticed it, but that is exactly what ts did. And matz once stated that if he were to be hit by a bus that he would want ts to take over Ruby's development. If you ask me, ts has more than enough knowledge of Ruby's internals to rightly do point out errors -- and that's exactly what he did as far as I see the whole situation. > In fact, I still have the feature installed here. If someone could show me > some Ruby code that makes Ruby crash with the #class= method I implemented, I > would be more than happy to retract even that much. Show me code that > crashes my #class= implementation; I already assume it can be done, now just > show me how. I haven't tested these with your implementation, but they once were problematic in evil.rb. Object.class = Object # ? Class.class = Module # ? 5.class = Object # ? obj = Time.new; require 'stringio'; obj.class = StringIO # ? Regards, Florian Gross