home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.software-eng
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!uvaarpa!murdoch!murdoch.acc.virginia.edu!aj3u
- From: aj3u@larch.cs.virginia.edu (Asim Jalis)
- Subject: How to Divide Program into Files
- Message-ID: <AJ3U.93Jan8120741@larch.cs.virginia.edu>
- Sender: usenet@murdoch.acc.Virginia.EDU
- Organization: University of Virginia, Charlottesville, VA 22903
- Distribution: comp
- Date: Fri, 8 Jan 1993 17:07:41 GMT
- Lines: 25
-
- I am writing a medium sized program and I was interested in what
- people thought about the different ways such a program could be
- divides into files.
-
- 1. Are there any other good strategies besides dividing them by
- data structures or objects. What to do when the problem does not
- map to the object oriented paradigm very well.
-
- 2. Should there be a one-to-one correspondence between header
- files and code files? This might be natural when using an OO
- strategy. Are there any other ways to go about this given that
- one is not sticking dogmatically to any one design strategy.
-
- 3. Where should the structure of the program be documented? In
- the individual files? In the makefile? Or in a README type
- file? Or nowhere: let the next programmer figure it out through
- a TAGS type file.
-
- I am interested in different points of view on these questions.
-
-
- Asim.
-
-
-
-