lua-users home
lua-l archive

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


> Not really - the problem was in confusing globals with locals.
> In my scheme that's not possible.
> 
> You can still confuse locals with locals and globals with globals,
> but not with each other anymore.

Yes, but that's just saying "programmer do XXX  to avoid bugs" and 
not helping the programmer do it.  Following a global variable naming 
convention is just as good.

Especially in multi-programmer systems, say a networked game, a server, 
or any apps with Lua plug-ins you are left to hope that programmers 
follow your rules and trying to fix the system when they don't.

Russ