From: Nikolai Weibull Date: 2005-11-24T06:17:18+09:00 Subject: Re: semenatics of if/unless/while statement modifiers Yukihiro Matsumoto wrote: > > > > 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 end while > > works differently from > > while If anything comes out of this discussion (I'm still doubtful), I hope that this will be it. I've found the difference in behavior confusing; only once, but since then I've stayed away from the begin ... end version and just used the latter. It's just too confusing that they do different things. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}