From owner-freebsd-current Fri Jan 29 09:18:34 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11398 for freebsd-current-outgoing; Fri, 29 Jan 1999 09:18:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11393 for ; Fri, 29 Jan 1999 09:18:32 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id JAA15439; Fri, 29 Jan 1999 09:10:13 -0800 (PST) Received: from s204m82.isp.whistle.com(207.76.204.82) via SMTP by alpo.whistle.com, id smtpdD15412; Fri Jan 29 17:10:03 1999 Date: Fri, 29 Jan 1999 09:09:54 -0800 (PST) From: Julian Elischer X-Sender: julian@s204m82.isp.whistle.com To: Sheldon Hearn cc: Poul-Henning Kamp , Mikhail Teterin , current@FreeBSD.ORG Subject: Re: btokup().. patch to STYLE(9) (fwd) In-Reply-To: <90073.917600532@axl.noc.iafrica.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 29 Jan 1999, Sheldon Hearn wrote: > > When it comes to code, do you not agree that the trained eye knows which > operators to seek to first in an expression? I can't think of an analogy > in the English language, since one doesn't "seek to" commas, one simply > reads from left to right. > The "trained eye" doesn't have much to do with the problem.. Firstly there are only a certain number of things the average person can keep in context at a time, and forcing someone to work out precedence is distracting from the job at hand. I've been doing C for 17 years now, and there are some operators that I Still need to look up because I use them rarely in combination. Also writing in an ISO 9000 environmemt, Braces were REQUIRED, as were Parans wherever more than 2 elements were in an expression (except in some simple cases like a + b + c + d). Having worked in that environment I find the that I get REALLY distracted by the LACK of parens and braces in expressions with more than 2 parts because I keep having to check every expression to see what was actually done, where with parans and braces it's explicit. Arguing against parens and braces is like arguing against indentation. It's not required but... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message