From: matz@... (Yukihiro Matsumoto) Date: 2000-12-23T03:08:50+09:00 Subject: [ruby-talk:7972] Re: defined? problem? Hi, In message "[ruby-talk:7956] Re: defined? problem?" on 00/12/23, hal9000@hypermetrics.com writes: |A fair answer. But it forces me to use my very tired brain... People on ruby-talk force me everyday. Let's share my feelin' Using one's brain is good anyway. ;-) |foo |x if y |bar | |is seen in the order foo, x, y bar -- but if executed, it would be |in the order foo, y, x, bar. A part of me says that in the case of a |"reversed" construct like an if-modifier, the rule should be reversed |(unexecuted stuff in "x" should not affect "y"). | |Does this concept cause any problems? What if x is a really big statement like begin? begin ... 100 lines ... end if y I'd surprise if y affect x. I'd advise to concentrate on appearing order. Plus, I have implementation restriction, which may be avoided by tweaking the parser. |Is this at all related to the discussion a few weeks back about a |begin-end block with a while modifier? I didn't follow that one |closely. Not really. matz.