General > Developers Corner
My first Lua library/API/thing! (From another Lua half-noob)
MrPresident:
Don't confuse GMod's API with glua.
GLua (at least as far as I understand) is just Garry's modified lua.
Neku:
GLua is a mix of coding languages. Not gmod functions.
Megiddo:
I'm still angry about Garry adding "!=" and "//". What a great way to encourage horrible coding practices.
MrPresident:
I used to use ! as a negate until I realized that it wasn't true lua. After that I just started using 'not' like you're supposed to.
JamminR:
--- Quote from: MrPresident on January 28, 2014, 08:25:25 AM ---just started using 'not' like you're supposed to.
--- End quote ---
Though "!=" isn't Lua, "~=" is.
For readability sake, which MrPresident does very well, "not" is recommended following Team U's recommendations of how to program for Ulysses projects.
Navigation
[0] Message Index
[*] Previous page
Go to full version