Re: Let's put this to rest
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Thu, 15 Jun 2006 15:23:34 GMT
Responding to Perryman...
That is all there is to it. Do what you must in order to define the above
using "translation OOA" ...
You are asking for an OOP class definition, not an OOA model. Stick to the original challenge and find an example in either book that you can demonstrate would be done differently by "most people" because of some fundamental difference in design methodology.
1. Already done. In a few seconds. No problem whatsoever.
So what I have is an OOA model for a stack.
A stack is almost always an implementation artifact for an ordered collection. Whether one needs an ordered collection or not and how that ordering should be done, if needed, depends on what the problem being solved is, which you have not specified.
But IF a stack was needed to solve the problem, it would usually be represented in the OOA model as:
1 R1 <<ordered>> *
[A] ---------------------- [B]
IOW, <<ordered>> and 1:* (or *:*) is all one needs to know at the OOA level of abstraction. Deciding whether one needs stacks, linked lists, B-Trees or whatever for relationship collection classes is a tactical OOP prerogative. [Note the 'usually' in the first sentence. There are exceptions that depend on particular problem contexts that haven't been defined here.]
It is exactly this sort of open-ended discussion at the wrong level of abstraction with requirements that are a moving target that I sought to avoid in the challenge. So I am not going to waste any more time pursuing this further. Pick an existing model from one of the books and show why it would be done differently by "most people" due to some fundamental methodological difference.
*************
There is nothing wrong with me that could
not be cured by a capful of Drano.
H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions -- Put MDA to Work
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
Pathfinder is hiring: http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH
.
- Follow-Ups:
- Re: Let's put this to rest
- From: Lee Riemenschneider
- Re: Let's put this to rest
- From: S Perryman
- Re: Let's put this to rest
- References:
- Let's put this to rest
- From: H. S. Lahman
- Re: Let's put this to rest
- From: S Perryman
- Re: Let's put this to rest
- From: H. S. Lahman
- Re: Let's put this to rest
- From: S Perryman
- Re: Let's put this to rest
- From: H. S. Lahman
- Re: Let's put this to rest
- From: S Perryman
- Let's put this to rest
- Prev by Date: Re: Difference between Design and Architecture
- Next by Date: Re: Let's put this to rest
- Previous by thread: Re: Let's put this to rest
- Next by thread: Re: Let's put this to rest
- Index(es):
Relevant Pages
|