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

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!newsserver.technet.sg!nuscc!tim
  3. From: tim@iss.nus.sg (Tim Poston)
  4. Subject: Re: IS C++ a language for the "average programmer"
  5. Message-ID: <1992Dec28.052523.15305@nuscc.nus.sg>
  6. Sender: usenet@nuscc.nus.sg
  7. Organization: Institute of Systems Science, NUS, Singapore
  8. X-Newsreader: Tin 1.1 PL4
  9. References: <1992Dec23.202737.19600@fcom.cc.utah.edu>
  10. Date: Mon, 28 Dec 1992 05:25:23 GMT
  11. Lines: 36
  12.  
  13. val@news.ccutah.edu (Val Kartchner) writes:
  14.  
  15. : The simple mathematical operations that we take for granted are simply
  16. : derivations of the 13 assumptions.  Algebra is an extension of those.
  17. : Calculus and geometry are an extensions of algebra.
  18.  
  19. Extensions, yes,... with added assumptions.
  20. Calculus requires the operation `take the limit',
  21. which is not a part of basic arithmetic.
  22. It is a non-finitary operation, unlike plus and minus,
  23. multiply and divided, and is therefore not implemented
  24. in any computer architecture.  To do calculus on a machine
  25. you must (a) approximate by small steps or (b) set up a
  26. symbolic manipulation program like Mathematica,
  27. which can finitely manipulate [some] _formulae_
  28. to produce the _formulae_ for their derivatives,
  29. integrals, etc.  Sometimes, though, nobody and no
  30. program can find a formula for the answer,
  31. and we go back to numerical approximation.
  32.  
  33. This is quite different from the relation of OOP to other methods.
  34. It is possible to translate a C++ program to C,
  35. and that is what Cfront does.
  36. It is not possible to translate the fundamental theorem of calculus
  37. (that integrating the derivative of f gives you back `total change in f')
  38. into a statement in algebra, unless you restrict to a simple class
  39. of functions---say, polynomials---where you can give algebraic formulae
  40. for `derivative' and `integral'.
  41.  
  42. Big difference!
  43.  
  44. Tim
  45.  
  46. _________________________________________________________________________
  47.               My lucky number is irrational.
  48. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  49.