lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu Apr 04/24/14 at 9:34, Hisham wrote:
> Oh, I missed Roberto's reply in the thread from 2012:
> 
> > It seems clear (to me, at least) that Lua does not interfere with what
> > you do with your own tables. The Lua convention refers only to its
> > own tables (the global environment and the registry).
> 
> Should this convention be now extended to local variables then?

To go back to your original question about Enrique's suggestion[1], are local
variables needed?

That is, and this is just for my clarification, the original question was
about _VERSION, _URL etc. as field names, not as local variables, wasn't
it? (I'm just trying to clarify if you're now asking a second question or
if this is somehow the same question.)

Thanks, P

[1]: http://kiki.to/blog/2014/03/31/rule-2-return-a-local-table/#meta-fields
-- 
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
    Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System