Articles in the permanent category
-
-
Unit tests
An automated test which verifies a single unit of behaviour, runs quickly and in isolation
-
-
Software Entropy
Refers to phenemona that as a project increases in size, ability to add new features and progress decreases.
References:
-
Test Coverage Metrics
Metrics that answer the question : how much of our code is executed by our tests?
-
-
Multiple Interitance
Multiple interitance refers to an object that inheritants from multiple parents. In Lua, this can be acheived by using Metatables with a metamethod
__index
which … -
Object Prototypes
In Lua, object-oriented programming is achieved using prototypal inheritance, since Lua does not have the concept of a class. Prototypal inheritance simply means that objects …
-
Lua Table-Access Metamethods
Table access metamethods (Lua) provide a mechanism for handling table lookup using the
__index
metamethod and writes to missing keys, using the__newindex
metamethod. They … -
Metatables
In Lua, since everything is a tables, metatables are a paradigm that lets you change the behaviour of a table, using another table. For example …