9fans archive / 2000 / 08 / 21 /    prev next

From: Greg Hudson <ghudson@MIT.EDU>
Subject: Re: [9fans] Installing the updates
Date: Tue, 01 Aug 2000 12:03:38 -0400

> I think he's heard the argument but doesn't agree.

It would be nice if Pike could present a compelling argument.  His web
page states only:

	Multiple inclusions are a bane of systems programming.  It's
	not rare to have files included five or more times to compile
	a single C source file.  The Unix /usr/include/sys stuff is
	terrible this way.

Where's the horror here?  Computers are fast.  Pushing extra work on
programmers and creating an unnecessary portability issue is a high
cost.  Reading a header file five or more times during compilation is
a low cost (and one which can be optimized away for ifdef-protected
headers; I'm told gcc does so).