From owner-cvs-all Wed Feb 21 19:30:12 2001 Delivered-To: cvs-all@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2E80D37B67D; Wed, 21 Feb 2001 19:30:00 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1M3TxW02161; Wed, 21 Feb 2001 20:29:59 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102220329.f1M3TxW02161@harmony.village.org> To: "Brian F. Feldman" Subject: Re: cvs commit: src/share/man/man9 style.9 Cc: Peter Pentchev , Ben Smithurst , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Wed, 21 Feb 2001 20:44:33 EST." <200102220144.f1M1iYl12877@green.dyndns.org> References: <200102220144.f1M1iYl12877@green.dyndns.org> Date: Wed, 21 Feb 2001 20:29:59 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200102220144.f1M1iYl12877@green.dyndns.org> "Brian F. Feldman" writes: : Warner Losh wrote: : > In message <20010221141342.A98551@ringworld.oblivion.bg> Peter Pentchev writes: : > : I've sometimes seen tests like: : > : if (error = function(a1, a2), error != 0) : > : Is this not a bit clearer? : > : > No. : > : > Most C programmers don't have a clue what that means and it doesn't : > match existing practice. : : Pardon me, but most C programmers who have no clue what that means shouldn't : be programming in C. "Don't build it, maybe they won't come" But they came anyway. If I wrote code like the above, I'd have to spend half of my day defending it or explaining it or both. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message