Get in Touch

Course Outline

Advanced Tables

  • Tables for queues and stacks
  • Tables representing graphs
  • Matrices implemented as tables
  • Linked lists as tables
  • String buffers

Metatables Through Examples

  • Proxies
  • Readonly patterns
  • Memoization
  • Dynamic programming using memoization
  • The Fibonacci example

Environments

  • The relationship between global variables and environments
  • Free variables
  • The _ENV table and the _G table

Deeper Dive into Modules

  • Different approaches to creating modules
  • Modules that modify behavior
  • Module initialization and arguments
  • Using environments to implement secure modules

Advanced Iterators and Co-routines

  • Producer, consumer, and filter patterns
  • Wrapping co-routines to create iterators
  • Stateless iterator for linked lists

Contributing to the Ecosystem

  • Uploading packages to MoonRocks

Functional Paradigm in Lua

  • The map function
  • The reduce / fold function

Object-oriented Programming

  • Different approaches to OOP
  • Different approaches to inheritance
  • Examples

A Walkthrough of the Lua Standard Libraries

Requirements

Fundamental knowledge of the Lua programming language

 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories