Lua Tutorial

When to Use Inheritance: A Wide Brush Approach

When to Use Inheritance: A Wide Brush ApproachWhen to Use Inheritance: A Wide Brush Approach

Inheritance is a fundamental concept in virtually any language which supports object-oriented programming. How inheritance works varies between languages, but…

Why Should You Use Lua?

Lua is an extremely powerful interpreted language. It is most well known for its use in API's (Application Programming Interface).…

Getting Classy With Inheritance In Lua

We're going to cover the basics of inheritance in Lua. Lua doesn't have native classes, so don't expect things like…

Lua OS Library

We're going to go over the default OS library included in Lua. This library is very useful, but is also…

Lua Math Library

This section is more of a reference to how to use the math library in Lua. We aren't going to…

Improving Code Documentation

The debate between whether to use comments or to write self-documenting code has raged on for ages. Both approaches are…

The Basics of Big O Notation

Big O notation expresses how an algorithm grows relative to the input and extrapolates the input out to something arbitrarily…

Expanding Lua Functions

This article is an extension of our previous article on functions. We're going to learn a few new tricks and…

The Quick Guide to Understanding Quicksort

Quicksort is one of the most popular algorithms to sort with. It's average use case is great, it's relatively easy…

Data Munging: Reverse Engineering a Format

Data munging is the practice of taking data from one format and converting it into another format programmatically. Data munging…