home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / modula3 / 1103 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.2 KB

  1. Path: sparky!uunet!olivea!decwrl!src.dec.com!src.dec.com!kalsow
  2. From: kalsow@src.dec.com (Bill Kalsow)
  3. Newsgroups: comp.lang.modula3
  4. Subject: Re: Proper use of interfaces/modules for top-down programming?
  5. Message-ID: <1993Jan11.211834.1706@src.dec.com>
  6. Date: 11 Jan 93 21:18:34 GMT
  7. References: <1993Jan8.163340.12922@slate.mines.colorado.edu>
  8. Sender: news@src.dec.com (News)
  9. Reply-To: kalsow@src.dec.com
  10. Organization: DEC Systems Research Center
  11. Lines: 16
  12.  
  13. There is no single "proper" way to develop a system.  At this level of
  14. detail, writing Modula-3 programs is not much different from writing
  15. Modula-2 programs.  Both languages have separate interfaces and
  16. implementations.
  17.  
  18. Often each person and project has a different style.  Some design
  19. detailed specs, others jump in and write code.  I would say it's typical
  20. to design the abstractions and interfaces from the top-down.  As soon
  21. as an interface is specified, its implementation can begin.
  22.  
  23. The new question for Modula-3 programmers is whether an abstraction
  24. should be implemented as a module with exactly one instantiation
  25. or as an object type with multiple instantiations.  So far I don't have
  26. any particularly insightful advice or religious position on the issue.
  27.  
  28.  - Bill Kalsow
  29.