Re: Lots of design issues needed.
From: Alwyn (dt015a1979_at_mac.com.invalid)
Date: 08/11/04
- Next message: Francis Glassborow: "Re: Find size of array"
- Previous message: Robert W Hand: "Re: Why is not the copy constructor called"
- In reply to: Val: "Lots of design issues needed."
- Next in thread: Val: "Re: Lots of design issues needed."
- Reply: Val: "Re: Lots of design issues needed."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 11 Aug 2004 10:28:44 +0100
In article <411882da$0$62366$5fc3050@dreader2.news.tiscali.nl>, Val
<valmont_programming@hotmail.com> wrote:
> Design first though. I believe these basics belong in this ng (jsut an
> opinion :D), and not in a comp.oo ng
> (or whatever). Because I am
> adressing some basic design issues that many c++ novices/hobbyists *might*
> be interested in...
In the real world, software design procedures are intimately bound to
lifecycle issues. See, for instance:
<http://asd-www.larc.nasa.gov/barkstrom/public/The_Standard_Waterfall_Mo
del_For_Systems_Development.htm>
Such issues are well beyond the topic of this newsgroup, which is
learning to program in C or C++.
All in all, I think you have produced a viable solution - for a toy
program. Any improvements I could suggest would be largely cosmetic and
would relate mainly to issues of coding style and technique (which you
profess not to be interested in), not basic design. Any realistic
design for this kind of problem area would require some sort of
database system, which again is not within the domain of this
newsgroup.
I note in passing that you define a lot of functions in header files,
which do not seem to be either templates or inline functions. Your
project builds only because there is only one compilation unit and each
header file is included only once. Should you introduce an additional
compilation unit that includes these header files, your linkage editor
will complain that it found multiply defined symbols. In a typical
project, each non-template class will have its own header and at least
one source file for the implementation.
Alwyn
- Next message: Francis Glassborow: "Re: Find size of array"
- Previous message: Robert W Hand: "Re: Why is not the copy constructor called"
- In reply to: Val: "Lots of design issues needed."
- Next in thread: Val: "Re: Lots of design issues needed."
- Reply: Val: "Re: Lots of design issues needed."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|