lua-users home
lua-l archive

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


Exactly


Rick Leinen
Engineering Manager, R&D Projects
  
Lighting and Energy Solutions

T: 503 404-5561 F: 503 404-5661 C: 503 860-6305
  



-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Tim Hill
Sent: Monday, June 16, 2014 7:06 PM
To: Lua mailing list
Subject: Re: Locking Table Member Additions


On Jun 16, 2014, at 5:50 PM, Sean Conner <sean@conman.org> wrote:

> 

>  But a question: why?  Adding members should not affect your code, and 
> it would allow the programmer to associate additional information.
> 
>  Without knowing more about the problem, it seems like constructing 
> the table in C is more work than just doing it in Lua.
> 
>  -spc
> 
> 

I would guess the OP does not have full control of the Lua script and wishes to limit what it can do.

-Tim