[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ? assignments are not expressions ?
- From: "Stephen Adam" <saadam@...>
- Date: Tue, 27 Mar 2001 19:04:48 +1000
----- Original Message -----
From: Peter Wang <firstname.lastname@example.org>
To: Multiple recipients of list <email@example.com>
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 )
No indents? To me the indents make a far greater
difference to readability than the loop control method.