|
Originally Posted by Elethiomel
Not only wouldn't the code do what you'd think, it wouldn't work as it's not valid lua.
|
Oh yeah, sorry forgot about the then/end crap.
|
Originally Posted by Elethiomel
Also, to nitpick a bit, semicolons at the end of a line is optional in lua, and parenthesis in if statements are optional as well, so:
|
Stylistic and easier to read (imo).
|
Originally Posted by Andorien
Good coding practice, even in c/c++, is either [...]
|
Depends where you come from. I'm working as a perl programmer, for me there is no boolean type. :)