From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200207162129.WAA00952@localhost.localdomain> To: 9fans@cse.psu.edu Cc: steve@localhost.localdomain Subject: Re: [9fans] useful language extension, or no? In-Reply-To: Message from Sam of "Tue, 16 Jul 2002 11:05:58 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Steve Kilbane Date: Tue, 16 Jul 2002 22:29:42 +0100 Topicbox-Message-UUID: ce446a32-eaca-11e9-9e20-41e7f4b1d025 > Suppose I'm not saying "why," but "why not." IMO it's cleaner I disagree. It's considerably more ambiguous. Your loop continuation condition (i and > quite possibly more efficient The pros and cons have already been discussed. I'd just like to note that there's no particularly compelling reason why it would generate different code from that which used the idiom. A good optimiser would render them into the same internal form anyway. "A good optimiser" is a subjective term, and Plan 9's C optimising has already been discussed recent (Summary: it's good enough that there are more important/interesting/useful things to work on), but the point stands. steve