personally, I prefer “elseif” than “elsif” (I was surprise actually -maybe
because I do not do perl :-).
“elseif” is closer to english (ruby is closer to english, iinm) and is less
prone to typo. “elseif” is read as “else”-“if”. “elsif” is read as
“el”-“sif”, since “s” now has strong affinity w “if” than “el”…
I may be wrong though…
kind regards -botp
···
-----Original Message-----
From: Shannon Fang [mailto:xrfang@hotmail.com]
Sent: Thursday, December 05, 2002 7:31 AM
To: ruby-talk@ruby-lang.org
Subject: elseif?Hi,
I just happend to find out that the “elseif” in ruby is
spelled as “elsif”. Can anyone, probably Matz, tell me if
there’s any “historical” reason?Shannon