Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!xanth!mcnc!thorin!zeta!leech
From: leech@zeta.cs.unc.edu (Jonathan Leech)
Newsgroups: comp.lang.c++
Subject: Re: Save CPP!
Message-ID: <5765@thorin.cs.unc.edu>
Date: 8 Dec 88 01:51:00 GMT
References: <5202@mit-vax.LCS.MIT.EDU> <6590082@hplsla.HP.COM>
Sender: news@thorin.cs.unc.edu
Reply-To: leech@zeta.UUCP (Jonathan Leech)
Organization: University Of North Carolina, Chapel Hill
Lines: 14
Summary:
Expires:
Sender:
Followup-To:
Distribution:
Keywords:

In article <6590082@hplsla.HP.COM> jima@hplsla.HP.COM (Jim Adcock) writes:
>   Whereas, languages that have "import" and "export" features
>   defined don't need separate .h files...

    Having used one of these languages (HP massively extended Pascal),
I prefer #includes. Changing the location of subroutines and type
declarations can be a true nightmare in this language, since the
import/export declarations must change accordingly. Indeed, a friend
eventually wrote a preprocessor which extracted all the exports into
one file to avoid this sort of nonsense. Keep it out of C++!
--
    Jon Leech (leech@cs.unc.edu)    __@/
    "Opossums ran amok in Chapel Hill this weekend..."
	_The Daily Tar Heel_, 11/1/88