Get in Touch

Course Outline

Advanced Tables

  • Using tables for queues and stacks
  • Representing graphs with tables
  • Implementing matrices as tables
  • Creating linked lists via tables
  • Utilizing string buffers

Metatables in Practice

  • Proxy objects
  • Read-only tables
  • Memoization techniques
  • Dynamic programming using memoization
  • Fibonacci sequence example

Environments

  • The connection between global variables and environments
  • Handling free variables
  • Understanding the _ENV and _G tables

Module Development

  • Various strategies for creating modules
  • Modules that alter behavior
  • Module initialization and argument handling
  • Implementing secure modules using environments

Advanced Iterators and Coroutines

  • Producer, consumer, and filter patterns
  • Wrapping coroutines to create iterators
  • Stateless iterators for linked lists

Contributing to the Ecosystem

  • Uploading packages to MoonRocks

Functional Programming in Lua

  • The map function
  • The reduce / fold function

Object-Oriented Programming

  • Different approaches to OOP
  • Different approaches to inheritance
  • Practical examples

Exploring the Lua Standard Libraries

Requirements

Foundational knowledge of the Lua programming language

 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories