[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01747] Re: [Ruby] static buffers

From: Kazuhiro HIWADA <hiwada@...>
Date: 2000-03-06 04:53:40 UTC
List: ruby-talk #1747
Hi,

From: Yukihiro Matsumoto <matz@netlab.co.jp>
Subject: [ruby-talk:01740] Re: [Ruby] static buffers
Date: 06 Mar 2000 12:23:47 +0900

> Some proposed 
> 
>   rescue FriendlyException do |friendly|
> 
> But I think it looks like blocks too much, since rescue works
> differently from blocks.
> 							matz.

I prefer:

  rescue FriendlyException, ... into friendly

However, unfortunately 'into' is not a reserved word --'in' is a
reserved one--.  So, I propose another:

  rescue friendly in FriendlyException, ...

I think, "rescue aException in ExceptionClasses" is more clear than
reversed order: "rescue ExceptionClasses in aException".

# I don't like '=>', since I'm bad at typing '=>' sign :(

Thanks,
Hiwada
--
Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp>
excuse my buggy english

In This Thread

Prev Next