News for hackers. Stuff that matters.
Re:Grid – A Lua Game Engine by ebg13 on Monday June 08, 2020 @05:29PM (#23461028)
> Lua can have functions that assume a "this" parameter (Lua calls it "self")

Even Lua's assumed "self" via the thing:funcname(...) call is just a charade and is secretly just thing.funcname(thing, ...). The split between . and : calling, IME as an informal Lua teacher, is confusing to programming newbies when they first encounter it and I kinda wish the language hadn't chosen _that_ as the thing to spend time implementing.

Re:Grid – A Lua Game Engine by spc476 on Monday June 08, 2020 @07:31PM (#23461956)
The same is true in C++ and Java, only the "self" argument is completely hidden in that case.