Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!amdcad!amd!eager From: eager@amd.UUCP (mike eager) Newsgroups: comp.lang.c Subject: Re: Function prototypes (was: miscellaneous unrelated stuff) Message-ID: <4116@amd.UUCP> Date: Wed, 17-Jun-87 05:46:28 EDT Article-I.D.: amd.4116 Posted: Wed Jun 17 05:46:28 1987 Date-Received: Sun, 21-Jun-87 09:08:44 EDT References: <18346@ucbvax.BERKELEY.EDU> <8042@utzoo.UUCP> <1169@ius2.cs.cmu.edu> Reply-To: eager@amd.UUCP (mike eager) Organization: Eager Consulting Lines: 15 In article <1169@ius2.cs.cmu.edu> edw@ius2.cs.cmu.edu (Eddie Wyatt) writes: It seems to me that function prototypes violate a basic good rule about high programming language design which is : avoid having the user declare the same information more than once. .... > extern foobar() : foobarmodule; >or > foobar() : foobarmodule; > >In which case the user wouldn't have to include any new files since >the information about what new files to use would be in the import from >field of the external statement. > Unless I miss my guess, this is MODULA. Yes, someone else has worked out some of the details. See also ADA.