0
elif sounds stupid
why elif? why not else if or elsif?
4 Réponses
+ 5
It's easier to type elif than else if :-)
+ 4
I don't actually know. Maybe they did not want to split a keyword into two separate words?
+ 4
Why not?
It's shorter, and as far as readeable as two keywords version ^^
It's just a little frustrating to cannot have the choice between the two syntaxes, but we get used to it very quickly ;)
+ 3
"else if" alredy exist in javascript, they used "elif" so that you won´t get confused with other languages