[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: global environment special case
- From: "Vincent Penquerc'h" <vincent@...>
- Date: Wed, 19 Apr 2000 11:18:21 +0100
> Since the table data type is used so effectively to keep Lua simple and
> powerful, it made me wonder why use of tables wasn't extended as
> far as the
> global environment. In other words why does a programmer implementing
> extensions have to treat the global environment as a special case?
I like this idea. There would be something like a 'global' table that would
be directly accessable (eg. global_table.global_var) ? In this case,
global_table would be a field of itself ? Nice recursive definition of a
I concur with your idea.