Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!uakari.primate.wisc.edu!ginosko!uunet!igor!rutabaga!loren
From: loren@rutabaga.Rational.COM (Loren Rosen)
Newsgroups: comp.lang.misc
Subject: Re: Header files
Message-ID: <581@igor.Rational.COM>
Date: 28 Sep 89 19:20:52 GMT
References: <24955@louie.udel.EDU>
Sender: news@Rational.COM
Reply-To: loren@rutabaga.Rational.COM (Loren Rosen)
Organization: Rational, Santa Clara, CA
Lines: 13

You can do more or less what you want in Ada, through the use of separate
subprograms.  Also, many of the production Ada compilers will remove
code for unused subprograms from the executable.

Header files have drawbacks of their own.  It's all too easy in a large
system to try to load two things that have the same name, or leave something
out.  You don't find out until the loader complains about multiply-defined
or undefined names.

--
     -- Loren Rosen, the token irrationalist at ...
	    Rational, 3320 Scott Blvd. Santa Clara Ca. 95054
            loren@rational.com  uunet!igor!loren