From: Thomas Hafner Date: 2009-01-31T17:25:07+09:00 Subject: Re: replacing callcc by catch/throw Tanaka Akira wrote/schrieb <87d4e56tai.fsf@fsij.org>: > The argument of catch is optional in Ruby 1.9. > [...] > catch generates a unique tag if not given. Fine! I like that much more than it is in Ruby 1.8. Imagine a Ruby program uses code from different libraries from different people. In Ruby 1.8 there's the danger that the catch/throw pairs do interfer in a bad way as in my example, and because the tags are not part of the interface, nobody sees the danger. For that reason the new way of catch/throw should preferred to the old way whenever possible. Regards Thomas