3 ms·
I believe there is value in learning Lua, and reading Programming In Lua in particular, early on. It's object and inheritance system is in your face. I feel lea
by Rapzid 6y ago
I believe there is value in learning Lua, and reading Programming In Lua in particular, early on. It's object and inheritance system is in your face. I feel learning it afforded me a more intuitive understand of prototypal inheritance systems.
- klodolph 6y agoLua’s object system is in-your-face and in my personal experience very difficult to use. I found it very difficult to reason about basic questions like, “Is my Lua wrapper for a foreign object safe?” Prototype inheritance is kind of nifty but I would really like an escape hatch to be able to avoid using it, mostly for wrapping foreign objects.