From: Shannon Fang Date: 2002-12-05T18:21:38+09:00 Subject: Re: elseif? How about a vote? I vote to add elseif as an alternative... Least Superise... I like it. 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