新手问题 why use `elsif` instead of `elseif` ?

stardiviner · 2012年11月04日 · 最后由 woaigithub 回复于 2012年11月04日 · 3667 次阅读

The elsif looks a little weird for me.

take it easy, just a keyword..

+1 weird indeed...

匿名 #3 2012年11月04日

else if = elsif != elseif

So does Perl :-)

省了个字母而且读音不变,何乐而不为也?

I said looks weird. @DoIT , of course I know else if. @yetone If need short, I think elif or eif is better.

匿名 #7 2012年11月04日

#6 楼 @stardiviner 习惯就好

是的,就是上来发下牢骚

elsif 和 perl 一样,没必要发明个新的...

至少 elsif 读起来还行,elif/eif 读起来都不行 XD

麻雀的屁股 乌龟的屁股

需要 登录 后方可回复, 如果你还没有账号请 注册新账号