Typed Lua

André Murbach Maidl, Fabio Mascarenhas, Roberto Ierusalimschy

2014 · 18 citations · 25 references

Concepts

Abstract

Dynamically typed languages trade flexibility and ease of use for safety, while statically typed languages prioritize the early detection of bugs, and provide a better framework for structure large programs. The idea of optional typing is to combine the two approaches in the same language: the programmer can begin development with dynamic types, and migrate to static types as the program matures. The challenge is designing a type system that feels natural to the programmer that is used to programming in a dynamic language.

References

25