home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!sun-barr!ames!think.com!linus!linus.mitre.org!linus!mbunix!eachus
- From: eachus@Dr_No.mitre.org (Robert I. Eachus)
- Subject: Re: Controlling Type Definition - Is it useful/necessary?
- In-Reply-To: dnsurber@lescsse.jsc.nasa.gov's message of 14 Sep 92 14:00:11 GMT
- Message-ID: <EACHUS.92Sep14161521@Dr_No.mitre.org>
- Sender: news@linus.mitre.org (News Service)
- Nntp-Posting-Host: dr_no.mitre.org
- Organization: The Mitre Corp., Bedford, MA.
- References: <1992Sep10.162550.5675@saifr00.cfsat.honeywell.com>
- <dnsurber.716479211@node_26400>
- Distribution: comp.ada
- Date: Mon, 14 Sep 1992 21:15:21 GMT
- Lines: 17
-
-
- A lot of good suggestions, but you missed a critical one:
-
- Wherever possible, if a package imports a type, make it a
- generic parameter. (Of course, if the design requires that something
- be of type foo, its not possible...) In general this means that only a
- few people need to run around defining types, but the major advantage
- is that there are fewer with clauses required, and fewer
- recompilations.
-
- --
-
- Robert I. Eachus
-
- with STANDARD_DISCLAIMER;
- use STANDARD_DISCLAIMER;
- function MESSAGE (TEXT: in CLEVER_IDEAS) return BETTER_IDEAS is...
-