lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Aug 1, 2018 at 2:46 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
[...]
>> Thought experiment level 1:
>>
>> -- Remove all special metamethods keys ("__add" and friends, including
>> __len),  excluding __index, __newindex and __gc
>>
>> Thought experiment level 2:
>>
>> -- Remove metatables
>>
>> i.e. less "object-oriented" things. Going more with plain functions,
>> tables of functions and closures.
>>
[...]
>
> In fact, it is a nostalgia list for a previous Lua: 4.0 had no
> metatables (but it did have tag methods).
>

Well, not nostalgia since I discovered Lua around the 5.0/5.1
transition.  And I really like many recent Lua features (mostly the
64-bit integer subtype, the bit operators and the built-in string
pack/unpack functions).