3 ms·
No, but there's an ridiculous amount of programmers whose first language will have been Lua and have grown up with using first class functions and composition o
by whizzter 1y ago
No, but there's an ridiculous amount of programmers whose first language will have been Lua and have grown up with using first class functions and composition over inheritance from day one.
- kragen 1y agoWell, you can inherit in Lua, right? In http://lua-users.org/wiki/InheritanceTutorial http://lua-users.org/wiki/InheritanceTutorial it's just setmetatable(new_class, {__index = base_class}) because __index can be a table; it doesn't have to be a function. I've never tried Roblox, so I have no idea how often people do such things in it.