From owner-freebsd-current Fri Jan 29 06:53:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA23541 for freebsd-current-outgoing; Fri, 29 Jan 1999 06:53:10 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA23377 for ; Fri, 29 Jan 1999 06:53:06 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id XAA12482; Fri, 29 Jan 1999 23:52:06 +0900 (JST) Message-ID: <36B1C8CD.159C3575@newsguy.com> Date: Fri, 29 Jan 1999 23:42:21 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: Sheldon Hearn CC: Mikhail Teterin , current@FreeBSD.ORG Subject: Re: btokup().. patch to STYLE(9) (fwd) References: <88592.917598420@axl.noc.iafrica.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > > As far as I see it, there are a lot of people who are saying > > "I want to use parens to improve readability" > > when what they really mean is > > "I want to use parens to obviate the need to learn operator precedence." > > I can't imagine how unnecessary parens are going to improve > "readability" for anyone who knows his/her operator precedence. What > it does is allow folks who aren't sure about what they're doing to get > around doing things properly. The human mind (at least the *normal* ones :) can handle a limited number of items simultaneously. If an expression has more than five "items" to be taken into account, you are already exceeding this limit for some folks (though suspect most "heavy" programmers "happen" to have higher capacities). And while expressions with more than five *operators* to be taken into account might be uncommon, it is not unusual for one also have to take into account what's between them. Just because it might be easy for you, it doesn't mean it is easy for others, or even that is something one can learn. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com Would you mind not shooting at the thermonuclear weapons? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message