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