27 ms·
Come to the Lua side and learn to enjoy "mechanisms over policy" "...A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing
by pull_my_finger 8y ago
Come to the Lua side and learn to enjoy "mechanisms over policy"
"...A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing features, instead of providing a host of features directly in the language. For example, although Lua is not a pure object-oriented language, it does provide meta-mechanisms for implementing classes and inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the language small, while allowing the semantics to be extended in unconventional ways."