[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: boolean operators
- From: Glenn Maynard <glenn@...>
- Date: Wed, 27 Sep 2006 06:16:31 -0400
On Thu, Sep 21, 2006 at 06:53:26PM -0500, Rici Lake wrote:
> In Lua, % is defined as "the remainder of the division that rounds the
> quotient towards minus infinity".
At the cost of being repetitive, is there a reason for wanting this, other
than performance (discussed elsewhere)? It just seems like there's a whole
lot of calls for more and more operators in Lua these days--on the tail of
someone asking for a table append operator comes the bitwise operator
thread, and then this. With an operator for every operation that "inline"
would be useful for in C, there will be a lot of operators.
--
Glenn Maynard