[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: The "Is nil present in a table" problem, ExtendingForAndNext (was Re: XMLRPC 0.0 for Lua)
- From: Edgar Toernig <froese@...>
- Date: Wed, 28 Nov 2001 14:50:18 +0100
I have to defend my unified methods ;-)
Jay Carlson wrote:
> For instance, unified methods significantly changes the semantics
> of ":" away from being syntactic sugar,
The syntactic sugar becomes:
is the same as:
To keep compatibility you may choose another operator for this.
I.e. '::' or '->' but IMHO the ':' is the "method" operator and
should access the method table.
> and loses some of the "everything's a table" flavor of current Lua
> object programming.
HUH??? Why? Everything still is a table and the tag methods become
table driven. Maybe you misunderstood something?