home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 18815 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  3.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!rpi!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!rons
  2. From: rons@hardy.u.washington.edu (Ronald Schoenberg)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Pros and cons of C++
  5. Date: 7 Jan 1993 21:29:44 GMT
  6. Organization: University of Washington, Seattle
  7. Lines: 55
  8. Message-ID: <1ii7c8INNgsm@shelley.u.washington.edu>
  9. References: <C0Hp1n.vp@gpu.utcs.utoronto.ca> <1993Jan7.160959.9381@eua.ericsson.se>
  10. NNTP-Posting-Host: hardy.u.washington.edu
  11.  
  12. In article <1993Jan7.160959.9381@eua.ericsson.se> euamts@eua.ericsson.se writes:
  13. >In article vp@gpu.utcs.utoronto.ca, yjohn@gpu.utcs.utoronto.ca (John Ross) writes:
  14. >
  15. >// Deleted
  16. >
  17. >#Why then is it becoming so popular?  Why the deluge of texts, articles,
  18. >#magazines, news groups, compilers, etc?  It seems to me that C++ _will_
  19. >#be the language of choice for programmers (except in specialized areas
  20. >#where other languages will continue to be used). It would be nice to get a
  21. >#balanced view of where C++ fits into the scheme of things.
  22. >#Unfortunately, language issues often assume the aspect of a religious
  23. >#war, with rabid supporters and detractors.
  24. >
  25. >I think someone ought to do some sociological research on this. I can agree
  26. >with people claiming C++ is very complex, but I don't know any other OO
  27. >language, so I cannot say if it is overly complex or not.
  28. >
  29. >All we can do is to sit down and face the facts: C++ is here to stay and
  30. >we just have to deal with its complexities.
  31. >
  32. >Someone once said: C++ is the programmers revenge on managers, since C++
  33. >may imply that programmers in the future will once again walk around in
  34. >white coats and be payed handsomly.
  35. >
  36. >Mats Henricson
  37. >Ellemtel
  38. >Sweden
  39.  
  40.  
  41. I find programmers to have a generally myopic view of C++.  I do a lot
  42. of numerics programming (and I'm really an applied mathematician, not
  43. a programmer), and I find C++ incredibly simplifying.  I use matrix
  44. classes (M++) which handle all the memory, garbage collection chores
  45. for me so I really don't have to know anything about that to do my
  46. number-crunching.  I build classes that do optimization, linear
  47. programming, nonlinear least squares, basic statistical description,
  48. without having to know much more than how to use the M++ classes.  
  49.  
  50. C++ is really about designing an interface, and that implies a
  51. division of labor - those who design the interface, and those who who
  52. use it.  I let someone else design all the dirty stuff, and then I use
  53. it.  If I were a manager, I'd hire a really good programmer who would
  54. design and maintain the interface, and if it is good it won't require
  55. gurus to use it.  The designer of M++ had to really know what they
  56. were doing to get the memory handling right, to work out the garbage
  57. collection and solve the temporary problem, to design efficient
  58. algorithms for operations on four dimensional arrays.  But the people
  59. who use it don't need to know how to do any of that.  I find using M++
  60. like using any of the array languages, like Matlab or Gauss, except
  61. that I have access to all of the OO features of C++ as well.
  62.  
  63.  
  64. -- 
  65. Ronald Schoenberg                    fax: 206-727-6521
  66. University of Washington           email: rons@u.washington.edu
  67.