|
On May 13, 2020, at 7:26 AM, Coda Highland <chighland@gmail.com> wrote:
I agree. Though many programming language design discussions seem to naively simplify to ‘typing is annoying’. That’s probably communication.
My intent is to have ‘global’ (the exact keyword used matters less) be an explicit maker of which variables should have _ENV. prepended. I.e. it doesn’t change the byte code emitted for any existing program, it would only require adding a declaration for
each error issued during load.
The only downside is verbosity and cognitive load. I would personally prefer it, but I’m a professional software engineer who prefers static typing, though I have a soft spot for Lua.
|
_______________________________________________ lua-l mailing list -- lua-l@lists.lua.org To unsubscribe send an email to lua-l-leave@lists.lua.org