From: Daniel Carrera Date: 2002-12-05T18:33:16+09:00 Subject: Re: elseif? > How about a vote? I vote to add elseif as an alternative... Least > Superise... I like it. I don't think that Ruby is a democracy. :-) Really, Matz is the creator of Ruby. It's his choice. (but if I were to vote, I'd vote "no". I think that there is such thing as too many ways to do it). Cheers, Daniel. > > Shannon > > >From: paul@argelfraster.org (Paul J. Sanchez) > >Reply-To: ruby-talk@ruby-lang.org > >To: ruby-talk@ruby-lang.org (ruby-talk ML) > >Subject: Re: elseif? > >Date: Thu, 5 Dec 2002 14:53:08 +0900 > > > > >>>>> "Shannon" == Shannon Fang writes: > > > > Shannon> Hi, I just happend to find out that the "elseif" in ruby > > Shannon> is spelled as "elsif". Can anyone, probably Matz, tell me > > Shannon> if there's any "historical" reason? :) > > > >That was the thing I found most jarring about Ruby, too. Not being a > >Perl programmer, "elsif" violated the principal of least surprise for > >me. As I said in a post here a couple of months ago, I think it's a > >human factors issue. I understand all the Perl'ers and old Ruby hands > >wanting to keep "elsif", but since it doesn't conflict with anything I > >wish "elseif" would be added as an alternate syntax. After all, > >there's more than one way to do lots of other things in Ruby, and > >that's a good thing! > > > >--paul > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > >