From owner-freebsd-chat@FreeBSD.ORG Tue Apr 22 06:29:13 2003 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 957B037B401 for ; Tue, 22 Apr 2003 06:29:13 -0700 (PDT) Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E45743FBD for ; Tue, 22 Apr 2003 06:29:12 -0700 (PDT) (envelope-from jcm@FreeBSD-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 4.14) id 197xpa-000BSS-VK for freebsd-chat@freebsd.org; Tue, 22 Apr 2003 14:29:06 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) h3MDT6Pe064254 for ; Tue, 22 Apr 2003 14:29:06 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.6/8.12.6/Submit) id h3MDT6Df064253 for freebsd-chat@freebsd.org; Tue, 22 Apr 2003 14:29:06 +0100 (BST) Date: Tue, 22 Apr 2003 14:29:06 +0100 From: Jonathon McKitrick To: freebsd-chat@freebsd.org Message-ID: <20030422132906.GB64101@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Score: -10.3 (----------) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *197xpa-000BSS-VK*41dF5LqQ0F2* Subject: Code layout and debugging time X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 13:29:13 -0000 I was just reading an interesting statement in Code Complete: "Although this particular statistic may be hard to put to work, a study by Gorla, Benander, and Benander found that the optimal number of blank lines in a program is about 8 to 16 percent. Above 16 percent, debug time increases dramatically (1990)." Doesn't this seem to contradict the idea that clear, well-formatted code with lots of blank lines is easier to read and understand? How could debugging be any different? As a side note, perhaps it is simply legacy code, but it seems that the older the source in the BSD tree, the denser it is. Probably to save punched cards, eh? ;-) NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box.