From: Hongli Lai Date: 2009-07-31T08:56:46+09:00 Subject: [ruby-core:24629] [Bug #1844] Immediates Should Not Respond to :dup Issue #1844 has been updated by Hongli Lai. I disagree. - Exceptions are expensive. - Rescuing a specific exception requires a multi-line statement, while respond_to? allows one to write "bar.foo if bar.respond_to?(:foo)" - How do you know the exception was raised by the method itself and not by a method called by the method? You say respond_to? is not always reliable. I think it should be reliable. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1844 ---------------------------------------- http://redmine.ruby-lang.org