From owner-freebsd-chat Sat Nov 23 2:37:40 2002 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 183C237B404 for ; Sat, 23 Nov 2002 02:37:38 -0800 (PST) Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1811B43EB2 for ; Sat, 23 Nov 2002 02:37:37 -0800 (PST) (envelope-from cls@raggedclown.net) Received: from [212.238.197.102] (helo=mailhost.raggedclown.net) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18FXfM-000IA0-00 for freebsd-chat@freebsd.org; Sat, 23 Nov 2002 10:37:36 +0000 Received: from localhost (localhost [127.0.0.1]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id E067E832A for ; Sat, 23 Nov 2002 11:37:34 +0100 (CET) Received: from willow.raggedclown.net (willow.raggedclown.intra [192.168.1.10]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id C827B1854 for ; Sat, 23 Nov 2002 11:37:23 +0100 (CET) Received: by willow.raggedclown.net (Ragged Clown Host [willow], from userid 1009) id 9126F225F8; Sat, 23 Nov 2002 11:37:24 +0100 (CET) Date: Sat, 23 Nov 2002 11:37:24 +0100 From: Cliff Sarginson To: freebsd-chat@freebsd.org Subject: Re: Style(9) question Message-ID: <20021123103724.GA11632@raggedclown.net> References: <3DDF241B.FF30ACE2@mindspring.com> <20021123095502.GB11348@raggedclown.net> <3DDF52B9.88E852F6@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DDF52B9.88E852F6@mindspring.com> User-Agent: Mutt/1.5.1i X-Virus-Scanned: by AMaViS 0.3.12pre8 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 On Sat, Nov 23, 2002 at 02:04:41AM -0800, Terry Lambert wrote: > Cliff Sarginson wrote: > > > That means that they are limited to holding in their head only the > > > maximum amount of data that can be displayed on a screen at a time, > > > so the more non-whitespace data you can display in a limited amount > > > of real-estate, the better. > > > > Psychologically speaking I think this is not necessarily true. > > Programs aside there can be too much information on a screen, a > > multitude of web-sites are like this. The logical conclusion (although I > > don't think it is the one you are trying to make btw) is that you should > > have multiple statements on a line. > > Perl. 8-). > Well the deign of Perl (or perhaps the lack of it!) is so eccentric that I suppose programming in it might as well maintain that status-quo :) > > I am fairly keen on a the rather ad-hoc "rule" that if you cannot see the > > whole of a "C" function on the > > screen at the same time then you need to re-think it out. The exception > > to this being functions that are simply decision-makers, such as a long > > "switch" that simply sets flags etc. > > You must have literally wet yourself the first time you read > tcp_input(). 8-) 8-). > Oh I think I have seen enough code in my overlong programming career to not be easily shocked, aesthetically offended maybe, shocked no. > My take on this is that some problems are complicated, and, due > to bad design and legacy issues, or just plain performance > requirements, end up needing complicated solutions. For these > solutions, there are a limited number of people that can deal > with maintaining or fixing that code: the set of people able to > keep that level of complexity straight in their heads long enough > to deal with the issues facing them. Well, I don't necessarily disagree with the point you are making, but this is the very reason that programmers go loopy at a young age. You know they learn to write a bubble-sort and then sudddenly they are shoved into program maintenance...Unfortunately these limited numbers of people often grow old and die, find other jobs, have nervous breakdowns, have a low ability to explain ... etc etc... > > It's not very egalitarian, I know: I'm supposed to say that "all > people are equally gifted/challenged", and then we adjust the world > so that everyone can perform at an acceptable level in all jobs, > but, frankly, that's just not true: there's some code that most > people should kee their grubby paws out of, and That's Just The > Way It Is(tm). Well, I suppose people are gifted in different ways. I can design and write programs but I can barely bang a nail in straight into a block of wood. Oh there is definitely some code not meant for normal mortals. I would hasten to add though, that the ability to design and write good programs is often not accompanied by great insights in other areas. I would name a few famous names (but I will not). Two very famous people, not related to the FreeBSD project of course, spring to mind.. :) -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message