[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Array Logical Operators
- From: "Antonio Scuri" <scuri@...>
- Date: Fri, 21 Oct 2011 15:28:37 -0200
Ok.
Thanks,
Scuri
> Exaclty. In Lua, as in many other languages, 'and' and 'or' are not
> exactly operators; they are more like control structures. They do not
> generate a single opcode, but a sequence of tests and jumps.
>
> In statically typed languages, the compiler knows in advance what to
> do. For a dynamic language, once the control code is generated, it is
> hard to change it.
>
> -- Roberto