https://www.gravatar.com/avatar/e21b6488915225d05469935a1c16fe4f?s=240&d=mp

William Artero

automating a way out of tasks since 2010

Lua metatables introduction

If you ever used Lua, then you heard about its tables and the metatable feature. It is a mix of a powerful, simple and yet confusing mechanism for newcomers. Let’s walk through how they work and some examples of how useful they can be. You can also find real use cases by checking my Hammerspoon spoons.