From: Dave Thomas Date: 2000-03-05T11:41:30-06:00 Subject: [ruby-talk:01727] Re: [Ruby] static buffers The following message is a courtesy copy of an article that has been posted to comp.lang.misc as well. Yukihiro Matsumoto writes: > Well, we are now discussing about extending syntax to specify variable > to be assigned. > > rescue FriendlyException => friendly > > Or, > > rescue FriendlyException in friendly > > Or something else. Any good idea? What about using parameter passing semantics: rescue FriendlyException(friendly) and then extend it to rescue FriendlyException, UglyException(mixed) and rescue (anyException) In a way, the Exception object you pass in _is_ like a parameter to the rescue pseudo-block. Regards Dave