From: Shannon Fang Date: 2002-12-06T07:55:43+09:00 Subject: Re: elseif? Hi, Since Matz is the creator and his opinion is not to add elseif, I'd rather say, we keep it like that. I agree with the view that alias is not a good thing. Because it makes READING a program harder, when you I first encounter do |var| ... end, I didn't realize {|var|... } is also ok, but it seems straight forward... The problem with elsif is that I think all major lanugages, C/C++ Pascal Basic... are not using such strange thing. When I type in "else if" and "elseif" in ruby, it doesn't work... It makes learning a bit not-so-straightforward... I think for most people here, ruby is not the first lanugage, but ruby is definitely among the best, if not THE best. As an incentive to learn a second, third, fourth... lanugage, it must be easy to learn... Tks. Shannon On Fri, 6 Dec 2002 06:57:04 +0900 "Rich Kilmer" wrote: > elsif is a keyword, not a method...you cannot alias it...and I think > it's a silly request to change it to elseif just because its "hard to > remember". You have to learn every method name and function in Ruby to > use them, I would think learning the (limited) keywords would be simple. > > > Next someone is going to ask to change 'case' to 'switch' ;-)