← All courses

Lua

Lua Intermediate: OOP, Closures & Patterns

Go beyond the basics: closures and private state, full class hierarchies with inheritance, Lua string patterns, and proper error handling with pcall/xpcall.

5 lessons

Start the first lesson

Curriculum

  1. 1Closures and Upvalues📝 quiz
  2. 2Object-Oriented Lua: Classes and Inheritance📝 quiz
  3. 3String Patterns Deep Dive📝 quiz
  4. 4Error Handling: pcall, xpcall, and error📝 quiz
  5. 5Final Project: Build a Contact Book with Validated Errors

Every lesson is open, take them in order or jump straight to what you need.