home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / ada / 2612 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.2 KB  |  33 lines

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