home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / edu / 1390 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  3.8 KB

  1. Xref: sparky comp.edu:1390 comp.lang.fortran:3259 comp.lang.misc:2794 comp.arch:9081 sci.math:10666
  2. Path: sparky!uunet!gatech!purdue!mentor.cc.purdue.edu!pop.stat.purdue.edu!hrubin
  3. From: hrubin@pop.stat.purdue.edu (Herman Rubin)
  4. Newsgroups: comp.edu,comp.lang.fortran,comp.lang.misc,comp.arch,sci.math
  5. Subject: Re: Scientists as Programmers (was Re: Small Language Wanted)
  6. Message-ID: <BtpAIn.EE5@mentor.cc.purdue.edu>
  7. Date: 28 Aug 92 15:47:10 GMT
  8. References: <1992Aug25.154501.8654@colorado.edu> <1992Aug26.192410.6523@ultb.isc.rit.edu> <1992Aug27.154823.583@alchemy.chem.utoronto.ca>
  9. Sender: news@mentor.cc.purdue.edu (USENET News)
  10. Organization: Purdue University Statistics Department
  11. Lines: 56
  12.  
  13. In article <1992Aug27.154823.583@alchemy.chem.utoronto.ca> mroussel@alchemy.chem.utoronto.ca (Marc Roussel) writes:
  14. >In article <1992Aug26.192410.6523@ultb.isc.rit.edu> jsvrc@rc.rit.edu
  15. >(Doctor FORTRAN) writes:
  16. >>In article <1992Aug25.154501.8654@colorado.edu> ejh@khonshu.colorado.edu
  17. >>(Edward J. Hartnett) writes:
  18. >>> [. . . . ] I think that
  19. >>>what you are seeing is not that FORTRAN lends itself to rotten code,
  20. >>>but that scientists usually write bad code, in whatever language they
  21. >>>use. No offense to scientists, but I have rarely if ever seen a
  22. >>>scientist who was a good programmer.
  23.  
  24. >>But I must disagree when you characterize
  25. >>scientists as bad programmers. That's bigotry, and a stereotype to which I
  26. >>must strenuously object.
  27.  
  28. >     It's not bigotry, it's a sociological generalization applicable to
  29. >the vast majority of scientists who write computer programs.  You should
  30. >see the things I've seen...
  31. >     Edward wasn't trying to insult anyone.  He correctly identified the
  32. >source of the problem:  Scientists think that any code that executes
  33. >correctly and quickly is OK.  What it looks like and whether it would
  34. >meet with the approval of CS weanies is completely irrelevant
  35. >to us.  Of course, that also means that our "one-shot" code had better
  36. >never need to be tweaked.
  37.  
  38. The problem is that the CS people are, in this sense, like the purissima
  39. mathematicians (if it can be applied, it is time to work on something else.)
  40. They concentrate on what no scientist is particularly worried about, like
  41. making the printed output look neat, or even making life easy for the
  42. compiler.  They talk about optimizing compilers, but when someone brings
  43. up something which the current styles of optimization do not handle, they
  44. still say that the programmer must not be allowed to intervene with the
  45. product of the compiler, and things must be left to the compiler.
  46.  
  47. If we want to do good programming for scientists, both the hardware and
  48. the software have to take into account what the scientists with imagination
  49. can think of, not what those doing routine can envision.  The ideas of those
  50. who make extensive use of the computer for number theory, for example, are
  51. entirely ignored by both the hardware people and the language people.  And
  52. it is almost official policy to make the use of machine language other than
  53. through the inadequate high level languages at least very difficult.
  54.  
  55. Fortran is inadequate, Algol is inadequate, C, and even C++, is inadequate.
  56. Even if a programmer can find a good way of mixing them, there is no
  57. possibility of having one line in Fortran and the next in C. 
  58.  
  59. Most good scientists can think of their problem, and how reasonable operations
  60. can attack it.  But the languages do not facilitate this, and often even if 
  61. the features are present, they are in some obfuscated syntax.  Handling the
  62. syntax problem alone would make for great improvement, but I see nothing in
  63. this direction, and have asked for software to do this single job.
  64. -- 
  65. Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
  66. Phone: (317)494-6054
  67. hrubin@pop.stat.purdue.edu (Internet, bitnet)  
  68. {purdue,pur-ee}!pop.stat!hrubin(UUCP)
  69.