Get in Touch

Course Outline

Advanced tables

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

Metatables in practice

  • Creating proxies
  • Implementing read-only objects
  • Applying memoization
  • Leveraging memoization for dynamic programming
  • The Fibonacci sequence example

Environments

  • Understanding the relationship between global variables and environments
  • Managing free variables
  • The role of the _ENV and _G tables

Deep dive into modules

  • Various strategies for module creation
  • Modules that alter behavior
  • Module initialization and argument handling
  • Ensuring module safety through environments

Advanced iterators and co-routines

  • Producer, consumer, and filter patterns
  • Adapting co-routines to function as iterators
  • Implementing stateless iterators for linked lists

Contributing to the Ecosystem

  • Publishing packages to MoonRocks

Functional paradigm in Lua

  • The map function
  • The reduce/fold function

Object-oriented Programming

  • Various approaches to OOP
  • Different inheritance strategies
  • 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