home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18361 < prev    next >
Encoding:
Text File  |  1992-12-23  |  3.0 KB  |  67 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!val
  3. From: val@news.ccutah.edu (Val Kartchner)
  4. Subject: Re: IS C++ a language for the "average programmer"
  5. Message-ID: <1992Dec23.202737.19600@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: University of Utah Computer Center
  8. X-Newsreader: Tin 1.1 PL3
  9. References: <rmartin.724630113@thor>
  10. Date: Wed, 23 Dec 92 20:27:37 GMT
  11. Lines: 54
  12.  
  13. rmartin@thor.Rational.COM (Bob Martin) writes:
  14. : sam4628@zeus.tamu.edu writes:
  15. : |In article <rmartin.724431509@thor>, rmartin@thor.Rational.COM (Bob Martin) writes...
  16. : |..
  17. : |> 
  18. : |>This is not a new idea.  Calculus is more complex than algebra.  Yet,
  19. : |>once learned, it alows a whole new ream of concepts to be conveniently
  20. : |>expressed.  
  21. : |Yes, but does OO _really_ allow you to tackle a more complex problem?
  22. : |Or does it just allow you a new "notation" which is conveniently adapted
  23. : |to the more complex type of problems?  
  24. : No, it really allows you to tackle a more complex problem.  This is
  25. : because of the paradigm has more expressive power than procedural
  26. : programming does.  
  27. : |I've never heard of a programming
  28. : |goal which absolutely required OO to achieve it -- however, there are
  29. : |a large number of math problems which algebra just cannot solve, no
  30. : |matter how you manipulate it (assuming, of course, that you don't start
  31. : |making simplifying assumptions/approximations).
  32. : I don't want to push the analogy too far.  ...
  33.  
  34. I see no reason to not push the analogy any further.
  35.  
  36. As I understand mathematics, there are thirteen basic assumptions.  (I
  37. forget the proper name of these.)  These assumptions are such as "1 = 1",
  38. "1 + 1 = 2", etc..  From these thirteen basic assumptions, the rest of
  39. mathematics is derived.
  40.  
  41. You can compare these 13 assumptions to the seven basic operations necessary
  42. for any processor.  These operations are binary add, unary minus, load, store,
  43. etc..  (I would appreciate a list of these as well as a reference of where
  44. I could actually get a research paper on this.  Thanks in advance.)  The
  45. rest of the operations are built up of these.
  46.  
  47. The simple mathematical operations that we take for granted are simply
  48. derivations of the 13 assumptions.  Algebra is an extension of those.
  49. Calculus and geometry are an extensions of algebra.  The advantage of one
  50. method over another is that you have different conceptual levels and
  51. notational syntaxes (and symboligies) which represent them.
  52.  
  53. Object-orientedness doesn't allow you to solve problems that couldn't be
  54. solved otherwise.  It does, however, allow a different way of addressing
  55. the problems that you are given to solve.
  56.  
  57.             -=:[ VAL ]:=-
  58. --
  59. |================== #include <disclaimer.h> ==================///=============|
  60. | "AMIGA: The computer for the creative mind" (tm) Commodore /// Weber State  |
  61. | "Macintosh: The computer for the rest of us"(tm) Apple \\\///   University  |
  62. |== "I think, therefore I AMiga" -- val@csulx.weber.edu ==\///= Ogden UT USA =|
  63.