[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: semantics
- From: "John Belmonte" <jvb@...>
- Date: Sat, 10 Feb 2001 14:38:25 +0900
> In general, code in Lua is generated from left to right, as it is read
> the source. But you're right the manual does not say anything about order
> of evaluation. In any case, you should not write code that depends on
> although I agree that Lua's semantics may make it hard to do this, if
> writing complicated code with lots of tag mathods.
Are you saying we shouldn't program with side effects? That is ironic for a
language where variables default to the global scope.
I think any language that allows side effects should be very clear about