4 ms·
> Certainly there's a more accepted nomenclature? I don't know if there is, but there should be. The defining aspect seems to be that there aren't pure ADTs,
by silentbicycle 16y ago
> Certainly there's a more accepted nomenclature?
I don't know if there is, but there should be.
The defining aspect seems to be that there aren't pure ADTs, just collections based an associative arrays ("dicts" / "tables"), and methods are just table fields that contain a function. Also, Python has classes where Lua really does just have pure tables with hooks ("metatables", which make it easy to implement prototypes, classes, and many other constructs).