Hi,

In message "Re: semenatics of if/unless/while statement modifiers"
    on Wed, 23 Nov 2005 11:04:24 +0900, "David A. Black" <dblack / wobblini.net> writes:

|> |moulon% ruby -e 'i = 0; begin puts i; end while i > 0'
|> |0
|>
|> Don't use it please.  I'm regretting this feature, and I'd like to
|> remove it in the future if it's possible.
|
|I'm surprised.  What do you regret about it?

Because it's hard for users to tell

  begin <code> end while <cond>

works differently from

  <code> while <cond>

|Also, if it's removed, would there be an equally easy way to do the
|at-least-once thing?

loop do
  ...
  break if <cond>
end

							matz.