Else if
I've been looking over your documentation and you have your elseif command as else if. Shouldn't it be elseif as in most programming languages as not to confuse existing programmers?
Comments (6)
-
-
reporter - marked as proposal
Changed from bug to proposal because I forgot to set it as proposal in the first place.
-
reporter Well you said yourself that the language is based on Lua and Ren'Py. In Lua it's ElseIf, although I don't know what it is in Ren'Py.
-
Yes, it's based on those. I did change some syntax rules, like the $ for variables.
else if is, implementation wise, an if-else within an else block, so I decided to go with that. From what I know about Lua bytecode, the elseif is more appropiate there. I have no idea why Python (Ren'Py) uses elif.
-
reporter I see you point, I'm just nit-picky about things.
If I remember correctly, Python uses elif to avoid unneeded indentation.
-
reporter - changed status to resolved
See above comment.
- Log in to comment
Most common programming languages like C# and Java, where it is else if?