From owner-freebsd-hackers Fri Feb 28 12:40: 2 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C99BD37B401 for ; Fri, 28 Feb 2003 12:40:00 -0800 (PST) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B49C43F75 for ; Fri, 28 Feb 2003 12:40:00 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0471.cvx21-bradley.dialup.earthlink.net ([209.179.193.216] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18orIB-0001bw-00; Fri, 28 Feb 2003 12:39:40 -0800 Message-ID: <3E5FC8B7.F93FD4CA@mindspring.com> Date: Fri, 28 Feb 2003 12:38:15 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Cuthbert Cc: hackers@freebsd.org Subject: Re: C coding editor References: <20030221122103.GA2073@asterix.local> <3E5A4264.2010801@millions.ca> <3E5A4BA9.5010700@mitre.org> <200302260841.40693.wes@softweyr.com> <3E5EF568.4040800@kanga.org> <3E5F82CF.FCE0CB4C@mindspring.com> <3E5F9753.3090103@kanga.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4885788a73fd64ca13b047d6789cf6c3f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Cuthbert wrote: > The n characters/line issue deals more with the ability to visually > track the line. If, for example, when you reach the end of the line you > often find yourself accidentally reading the same line again, then the > line is too wide. > > Or something to that effect. I'm not an HCI expert, so... I considered mentioning exactly the same thing (starting over on the same line, instead of the next one) as an argument, and then quoting Narvii and other HCI experts to back the idea up, but the references I would have had to use were too obscure to be online. 8-) 8-). > >>The 80 column limit can also encourage developers to keep their > >>functions smaller and factor out common code. (I say can, because I've > >>seen the six-levels-of-indentation-loops sadly all too often...) > > > > Seems to have worked well for tcp_input(). 8-) 8-). > > Heh... for every example where it works/is needed, I can find 10 > examples in our code at work where it definitely *isn't* needed. :-) It's very easy to do that with your own code... ;^). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message