Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 19:34:54 +0000
From:      Tony Finch <dot@dotat.at>
To:        current@FreeBSD.ORG
Subject:   Re: btokup().. patch to STYLE(9) (fwd) 
Message-ID:  <E1072dy-0004z3-00@fanf.noc.demon.net>
In-Reply-To: <Pine.BSF.4.01.9901291044130.95594-100000@herring.nlsystems.com>
References:  <92584.917604304@axl.noc.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson <dfr@nlsystems.com> wrote:
>On Fri, 29 Jan 1999, Sheldon Hearn wrote:
>> 
>> The reason I'm interested in this (now tiresome) thread is that I'd much
>> rather have to read
>> 
>> 	/*
>> 	 * Bail out if the time left to next transaction is less than
>> 	 * the duration of the previous transaction.
>> 	 */
>> 	if (t % u - n % u < d % u) {
>> 
>> than
>> 
>> 	if (((t % u) - (n % u)) < (d % u)) {
>
>This is a strawman.  The original expression is perfectly fine (by my
>rules).  One could make a case for:
>
>	if ((t % u) - (n % u) < d % u)

Am I a heretic for suggesting this?

	if (t%u - n%u < d%u)

Grouping without brackets!

Tony.
-- 
f.a.n.finch  dot@dotat.at  fanf@demon.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1072dy-0004z3-00>