Get in Touch

Course Outline

Advanced tables

  • Implementing queues and stacks
  • Representing graphs with tables
  • Constructing matrices using tables
  • Building linked lists with tables
  • Utilizing string buffers

Understanding metatables through practical examples

  • Creating proxies
  • Enforcing read-only access
  • Implementing memoization
  • Applying memoization in dynamic programming
  • Calculating the Fibonacci sequence

Managing environments

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

Exploring modules in depth

  • Various strategies for creating modules
  • Modules that alter runtime behavior
  • Module initialization and parameter handling
  • Ensuring module safety via environments

Advanced iterators and co-routines

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

Contributing to the Lua Ecosystem

  • Publishing packages to MoonRocks

The functional programming paradigm in Lua

  • Utilizing the map function
  • Utilizing the reduce/fold function

Object-oriented Programming

  • Diverse approaches to OOP
  • Diverse approaches to inheritance
  • Practical examples

Overview of the Lua Standard Libraries

Requirements

Fundamental understanding of the Lua programming language

 14 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories