From owner-freebsd-chat Thu Sep 27 6:13:40 2001 Delivered-To: freebsd-chat@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 54D6737B405 for ; Thu, 27 Sep 2001 06:13:37 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] helo=dogma) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 15mayu-000Hhh-00 for freebsd-chat@freebsd.org; Thu, 27 Sep 2001 14:13:36 +0100 Received: (from jcm@localhost) by dogma (8.11.4/8.11.1) id f8RDDYR44400 for freebsd-chat@freebsd.org; Thu, 27 Sep 2001 14:13:34 +0100 (BST) (envelope-from jcm) Date: Thu, 27 Sep 2001 14:13:33 +0100 From: j mckitrick To: freebsd-chat@freebsd.org Subject: code density vs readability Message-ID: <20010927141333.A44288@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Style question: what guidelines do you personally follow to balance readability vs efficiency of source code? Can lack of blank lines and other whitespace easily become an impediment to readability? When (IYO) is there TOO much? One of the software engineers I work with (from mainframe/DOS days) has his code spread out so thin, you can page down 3 or 4 pages before you start to see meaningful code, and he seems to skip a line after almost every line of code. Not to mention spaces before and after every parenthesis, brace, or bracket. It seems this would make it easy to read the first time, but a nuisance after that. What do you think? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message