From owner-freebsd-current Mon Feb 9 16:56:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA06231 for current-outgoing; Mon, 9 Feb 1998 16:56:14 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA06190 for ; Mon, 9 Feb 1998 16:56:07 -0800 (PST) (envelope-from pb@fasterix.frmug.org) Received: (from uucp@localhost) by frmug.org (8.8.8/frmug-2.2/nospam) with UUCP id BAA02501; Tue, 10 Feb 1998 01:55:43 +0100 (CET) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.8.8/8.8.5/pb-19970302) id BAA03469; Tue, 10 Feb 1998 01:55:31 +0100 (CET) Message-ID: <19980210015530.KY13839@@> Date: Tue, 10 Feb 1998 01:55:31 +0100 From: pb@fasterix.freenix.org (Pierre Beyssac) To: eivind@yes.no (Eivind Eklund) Cc: current@FreeBSD.ORG Subject: Re: Heads up: static -ification References: <19980209064733.56080@follo.net> <19980209210343.OU10756@@> <19980209223452.41056@follo.net> X-Mailer: Mutt 0.59.1e Mime-Version: 1.0 In-Reply-To: <19980209223452.41056@follo.net>; from Eivind Eklund on Feb 9, 1998 22:34:52 +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eivind Eklund writes: > * Localization of state - to allow the programmer to see that his > changes don't affect anything beyond that file. > > * Data hiding - this make better module boundaries, and make more > certain that incestous relationships don't develop. It will make it > easier to change the code later. Wooops, thanks, I understand now. That's great! I'd gotten it all wrong: I was under the impression that you were converting auto variables to static, and I didn't see what was the point in doing that :-) -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org {Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message