home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / object / 3215 < prev    next >
Encoding:
Text File  |  1992-08-15  |  3.6 KB  |  75 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!johnson
  3. From: johnson@m.cs.uiuc.edu (Ralph Johnson)
  4. Subject: Re: Class methods
  5. Message-ID: <1992Aug15.143426.18445@m.cs.uiuc.edu>
  6. Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
  7. References: <1992Aug12.200125.20809@projtech.com> <1992Aug14.231701.24374@mole-end.matawan.nj.us>
  8. Date: Sat, 15 Aug 1992 14:34:26 GMT
  9. Lines: 64
  10.  
  11. sally@projtech.com (Sally Shlaer) writes:
  12.  
  13. >     THE PURPOSE OF ANALYSIS IS TO CAPTURE ALL OF THE INFORMATION ABOUT A
  14. > PROBLEM DOMAIN:  What are the conceptual entities in the problem ... the
  15. > the interrelationships between those entities, how the entities have to
  16. > behave over time.  That is what Shlaer-Mellor OOA is all about.
  17.  
  18. later ...
  19.  
  20. > Yes.  And to preserve the information in a *useful form*, we must keep the
  21. > information about the problem domain segregated from the information about
  22. > the solution (a.k.a. design).  Once you mix these two domains of
  23. > information, later designers and implementers cannot tell what they are
  24. > free to change (design information) and what must be left intact (problem
  25. > information).
  26.  
  27. mat@mole-end.matawan.nj.us writes:
  28.  
  29. >I fully agree with this premise.  I don't support the conclusion that
  30. >the symbology must differ, or must differ entirely.  Not everything
  31. >must be or should be expressed in symbology.  Consider the diagram on
  32. >p. 187 of _Object Lifecycles_.  I cannot fathom what the hexagons
  33. >contribute; so far as I can tell, the information could be presented
  34. >purely as text.
  35.  
  36. Mat then says that what we really need to do is to tag each piece of 
  37. information with the phase in which it was introduced, and in that way
  38. we can distinguish between the anlysis domain and the design domain.
  39. (He actually has several more steps, but the idea is the same).
  40.  
  41. The Scandinavian school of objects says that programming is modeling,
  42. and that an application program should be a model of the application
  43. problem.  If you take this to an extreme, there shouldn't be any
  44. difference between analysis and design.
  45.  
  46. Another point of view is that one person's specification is another
  47. person's design.  You might write an equation that must hold between
  48. a set of attributes of different objects and claim that this is a
  49. specification that falls out of analysis, that it is part of the problem
  50. domain and not the solution domain.  However, if you are using a
  51. constraint programming language then those equations ARE your program.
  52.  
  53. The only real point I am trying to make here is that the boundary
  54. between analysis and design is not only currently fuzzy, it will
  55. always be fuzzy.  Making different notations for the various phases
  56. might make it seem less fuzzy in people's minds, but that is an
  57. artificial boundary.  Using a single notation for both not only makes
  58. it easy to go from analysis to design, but it makes it easy to go
  59. backwards, which often happens when you build a system and find out
  60. that the customers didn't tell you what they really wanted, or that
  61. introducing the system changes the environment that you were modeling.
  62.  
  63. Thus doesn't mean that we shouldn't try to separate analysis from design,
  64. since first figuring out what problem you are trying to solve and then
  65. trying to solve it is a standard and time-proven technique for solving
  66. problems.  However, as in math and physics, trying to solve a problem
  67. often shows us that we are trying to solve the wrong problem, so there
  68. can never be an absolute separation between the two.
  69.  
  70. Probably everybody knows this already and I am just rambling.  But it
  71. seemed like the two people I quoted might disagree with it.
  72.  
  73. Ralph Johnson
  74.  
  75.