From owner-freebsd-current Sun Jan 31 20:08:56 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA13670 for freebsd-current-outgoing; Sun, 31 Jan 1999 20:08:56 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail2.rochester.rr.com (mail2-1.twcny.rr.com [24.92.226.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA13664 for ; Sun, 31 Jan 1999 20:08:55 -0800 (PST) (envelope-from leisner@rochester.rr.com) Received: from rochester.rr.com ([24.93.25.38]) by mail2.rochester.rr.com (Post.Office MTA v3.5.2 release 221 ID# 0-53939U80000L80000S0V35) with ESMTP id com; Sun, 31 Jan 1999 23:10:17 -0500 Received: from dw.home (leisner@localhost [127.0.0.1]) by rochester.rr.com (8.8.7/8.8.5) with ESMTP id XAA01185; Sun, 31 Jan 1999 23:08:50 -0500 Message-Id: <199902010408.XAA01185@rochester.rr.com> X-Mailer: exmh version 2.0.2 Reply-to: leisner@rochester.rr.com 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Jan 1999 23:08:50 -0500 From: "Marty Leisner" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > 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. What > it does is allow folks who aren't sure about what they're doing to get > around doing things properly. > > Ciao, > Sheldon. > If you use paranthesis, you don't have to memorize the operator precedence. People are not compilers, unnecessary parenthesis/braces is usally a good idea where there could be some confusion. In our work place we have a policy of extra braces around single line ifs...the idea is people often add lines in maintaince, and forget to add the braces...I think its a good argument for maintability... Marty Leisner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message