From: Ken Bloom Date: 2008-05-03T04:40:12+09:00 Subject: Re: Ruby 1.9 wishlist On Fri, 02 May 2008 12:46:25 -0500, coderrr wrote: > [Note: parts of this message were removed to make it a legal post.] > >> This is not possible without turning Ruby into either Python >> (semantically significant whitespace) or Perl (required semicolons). >> >> > Are you sure? While loops already require "semantically significant > whitespace" or a semicolon: > > while true p :hi end > # doesn't work > while true; p :hi end > # or > while true > p :hi end > > Isn't that kinda the same thing? You've got an end on the end of that while loop that you didn't have for the if statement. You could do if true p :true end and that's already in the language -- Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/