From: David Flanagan Date: 2008-10-08T05:47:36+09:00 Subject: [ruby-core:19180] Re: [Feature #615] "with" operator _why wrote: > I really think this is a good idea for a `with` method, though. I think it's worth mentioning that the with statement has caused no end of grief for JavaScript. I haven't followed this closely, so I can't explain why, but I gather that JavaScript implementors hate it because it makes optimizations difficult in the interpreter or VM. And the security folks hate it because it raises security issues of some sort. I suspect (but don't have the expertise to know) that Ruby is already complex enough that adding with wouldn't appreciably change the optimization or security picture, it is an issue to at least be aware of in this discussion. David Flanagan