lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


----- Original Message ----- 
From: Peter Wang <tjaden@alphalink.com.au>
To: Multiple recipients of list <lua-l@tecgraf.puc-rio.br>
Sent: Tuesday, March 27, 2001 5:35 PM
Subject: Re: ? assignments are not expressions ?

> I would dispute "clearer".  I prefer the following construct to both
> of the above (though I often use the first one in C).
> 
> while 1 do
> X = read()
> if not X then break end
> print ( X )
> end 

    No indents?  To me the indents make a far greater
difference to readability than the loop control method.