Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Course Outline
Advanced Tables
- Implementing queues and stacks with tables
- Representing graphs using tables
- Utilizing tables for matrices
- Constructing linked lists as tables
- Managing string buffers
Metatables in Practice
- Creating proxies
- Enforcing read-only behavior
- Implementing memoization
- Applying memoization in dynamic programming
- The 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
- Utilizing environments to ensure module safety
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
The Functional Paradigm in Lua
- The map function
- The reduce/fold function
Object-Oriented Programming
- Diverse approaches to OOP
- Strategies for inheritance
- Practical examples
Exploring the Lua Standard Libraries
Requirements
Familiarity with the basics of the Lua programming language
14 Hours