From: Paul Brannan Date: 2002-08-27T06:20:03+09:00 Subject: Re: warning modifying constant & 'global constant' On Mon, Aug 26, 2002 at 06:49:55PM +0900, Yukihiro Matsumoto wrote: > |1. if someone attempts to modify a constant, why does ruby choose to > |emit a warning instead of a fatal error? > > If it is a fatal error, something like Ruby embedded editor will meet > serious problems, e.g. > > M-x eval-ruby-expression > Eval: Foo = 42 > bang! What problems would there be with making it an exception? I would hope that the embedded editor would already handle exceptions properly. Paul