From owner-freebsd-current Fri Jan 29 00:55:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA16606 for freebsd-current-outgoing; Fri, 29 Jan 1999 00:55:15 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA16599 for ; Fri, 29 Jan 1999 00:55:13 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id JAA02470; Fri, 29 Jan 1999 09:53:09 +0100 (CET) To: Sheldon Hearn cc: Mikhail Teterin , current@FreeBSD.ORG Subject: Re: btokup().. patch to STYLE(9) (fwd) In-reply-to: Your message of "Fri, 29 Jan 1999 10:27:00 +0200." <88592.917598420@axl.noc.iafrica.com> Date: Fri, 29 Jan 1999 09:53:08 +0100 Message-ID: <2468.917599988@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <88592.917598420@axl.noc.iafrica.com>, Sheldon Hearn writes: > > >On Fri, 29 Jan 1999 00:55:21 EST, Mikhail Teterin wrote: > >> Everybody's goal is to keep/make code readable (accusations of "trying >> to obfuscate" are silly). You, people, are just not agreeing what >> "readable" means. Hoping to aid in the ending of this thread(s), > >Thank you very much. This is _exactly_ the point here. > >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. The parans have the same function as commas in most latin alphabet based languages: to convey structure. The fact that vi(1) has this neat '%' feature makes complex expressions with a couple of extra parens much easier to dissect than if there are no parens even if they are strictly speaking not needed for correct compilation of the expression in the first place. I hope you didn't mind the commas I left out of the previous sentence, they're strictly speaking not needed for understanding that sentence. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message