home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / symbolic / 3004 < prev    next >
Encoding:
Text File  |  1992-11-17  |  3.6 KB  |  72 lines

  1. Newsgroups: sci.math.symbolic
  2. Path: sparky!uunet!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!mroussel
  3. From: mroussel@alchemy.chem.utoronto.ca (Marc Roussel)
  4. Subject: Re: MAPLE resources reccomendation
  5. Message-ID: <1992Nov17.175833.29480@alchemy.chem.utoronto.ca>
  6. Organization: Department of Chemistry, University of Toronto
  7. References: <Bxtxzy.CJD@news.cso.uiuc.edu> <BxuxC6.Dxz@news.cso.uiuc.edu>
  8. Date: Tue, 17 Nov 1992 17:58:33 GMT
  9. Lines: 61
  10.  
  11. In article <BxuxC6.Dxz@news.cso.uiuc.edu> Richard J. Gaylord
  12. <gaylord@ux1.cso.uiuc.edu> writes:
  13. >the basic question iswhat do you want out of your cas? if you are going
  14. >to do serious programming,  mathematica  is totally in front of the
  15. >others.
  16.  
  17.      I don't think so.  There are some nasty "gotchas" in Mathematica
  18. programming.  Some of these are merely syntactic, and I'm sure Richard
  19. will disagree that they are problems at all.  Allowing space to stand
  20. for multiplication for instance, while appealing on one level because of
  21. its correspondence to hand notation, introduces opportunities for bugs
  22. that would not arise otherwise.  Pattern matching is nice, but
  23. mathematical objects should have types in order for this to work
  24. properly.  The global and local namespaces are not properly separated.
  25. (There are work-arounds to this problem, but they are not as nice as
  26. proper scoping rules would have been.)  These are just a few of my pet
  27. peeves with Mathematica's way of doing things.  By the way, a fairly
  28. thorough list of Mathematica's weaknesses is to be found in a paper by
  29. Richard Fateman available by anonymous FTP from either of the following
  30. sites:
  31.  
  32. peoplesparc.berkeley.edu (128.32.131.14)
  33.     Location: /pub/mma.review.ps.Z
  34.  
  35. math.utexas.edu (128.83.133.215)
  36.     Location: /pub/mma.review.ps.Z or /pub/mma.review.tex.Z
  37.  
  38.      I should mention that there is one aspect of Maple that makes it
  39. specially suited to programming: the availability of library source
  40. code.  Quite often, all one wants to get started is a few cogent
  41. examples of similar routines.  In Maple, getting these examples is as
  42. easy as typing
  43.  
  44. interface(verboseproc=2);
  45. readlib(simplify);
  46.  
  47. and Voila!  The simplify procedure is displayed on your terminal!  (It
  48. even comes out properly indented! :-))  The advantage of library code
  49. over either user-written or textbook examples is that you get to see
  50. routines that were written by people who know the inner workings of the
  51. manipulator quite well but that still was written to accomplish a real
  52. purpose.
  53.      An awful lot of user code has been written in Macsyma so that, in
  54. addition to programming examples being abundant, many more special-purpose
  55. routines are available for this than for any other CA system.  Also,
  56. because almost all old CA systems were Lisp-derived, there is a lot of
  57. Lisp-like code lying around that can easily be adapted to any of the
  58. modern descendents of these systems.  In addition to Macsyma, this
  59. category includes Derive.  (Any others that anyone can think of?)
  60.      Mathematica is a fine tool but it has its weaknesses.  It does
  61. things in a substantially different way than the other symbolic
  62. manipulators; that has both advantages and disadvantages.  When you're
  63. out on the frontiers, you have to expect bugs and design errors.  If you like
  64. the way it does things, it's probably worth the trouble to learn its
  65. quirks.  Many of us do serious programming with other symbolic
  66. manipulators, so to claim that "Mathematica is totally in front of the
  67. others" in this respect is misleading, especially given that the others,
  68. as my examples above show, have their unique advantages too.
  69.  
  70.                 Marc R. Roussel
  71.                                 mroussel@alchemy.chem.utoronto.ca
  72.