News for hackers. Stuff that matters.
Re:World of Warcraft: one simple line of code can cost you d... by jschwartzi on Tuesday October 30, 2018 @11:38AM (#18337656)
The issue is that Lua treats functions as "first-class," meaning that they are stored in variables like other data. This is how named functions are created within the language, and function syntax is sugar for initializing a variable and stuffing a function into it.

This works with API functions also, which is why this works.

There are no comments on this comment yet.