DEV Community

Discussion on: 5 reasons you should learn Lua

 
jwoertink profile image
Jeremy Woertink

Lua has 2 different type of notations. Since it's not an object oriented language, you can think of . like a class method, and : like an instance method. So love.load() vs love:load(). Lua basically determines what self is based on how you call the functions (if that makes sense)..