Metatables through examples

A number of examples to walk through are given in this section

  • Giving default values for tables
  • Checking every read and write to a table with a proxy
  • Making a table read only
  • Memorizing results for reuse through memoization