On Friday, February 12, 2016 at 01:52PM, Roberto Ierusalimschy wrote:
The manual says "names", not "variables".
I'm sorry to be dense, but I don't see what you mean. Is a "name" simply
a toplevel variable? Does it mean something more specific here?
name == identifier. It can be a global variable name, a field name,
a parameter name, a local variable name, etc. All names are names :-)
Ok. Unfortunately both of your responses are too cryptic for me. I don't
know if you're answering my original question. And if you are answering,
I don't know what your answer is.
My thinking is that even though my module exports a table with an
identifier, a name, __VERSION, it's ok because that identifier is
namespaced within any program that imports (requires) it. (It's a field in
a table that no Lua-Rio code touches directly.)
Thus, even though the manual appears to say this is bad, there can't be any
actual conflict in practice.