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

  1. Xref: sparky comp.edu:1417 comp.lang.fortran:3296 comp.lang.misc:2816 comp.arch:9101 sci.math:10728
  2. Path: sparky!uunet!olivea!hal.com!decwrl!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: <BtuqH5.G0K@mentor.cc.purdue.edu>
  7. Date: 31 Aug 92 14:19:53 GMT
  8. References: <BtpAIn.EE5@mentor.cc.purdue.edu> <34742@cbmvax.commodore.com> <1992Aug31.133811.3626@crd.ge.com>
  9. Sender: news@mentor.cc.purdue.edu (USENET News)
  10. Organization: Purdue University Statistics Department
  11. Lines: 51
  12.  
  13. In article <1992Aug31.133811.3626@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
  14. >In article <34742@cbmvax.commodore.com>, jesup@cbmvax.commodore.com (Randell Jesup) writes:
  15.  
  16. >|     I think whoever wrote that last paragraph is quite correct.  One
  17. >| should also remember that scientists are programmers of necessity: they
  18. >| program because they have to, not because they're good at it or (generally)
  19. >| like to do it.  This certainly doesn't improve the quality of the code,
  20. >| let alone the maintainability...
  21.  
  22. >  The problem as I see it is that too many scientists and engineers
  23. >think that because they can write working code they don't need (or are)
  24. >programmers. Most people can learn to play the paino, but would agree
  25. >that they are not professional quality, even the "background music in a
  26. >piano bar" professional quality. Yet they think that programming
  27. >somehow requires less training, practice, and dare I say it, *talent*
  28. >than music.
  29.  
  30. >  No optimizer will ever replace using the right algorithm to solve the
  31. >problem, no programming tool will ever generate meaningful names, no
  32. >automated indenter or pretty-printer will ever generate useful comments
  33. >or truly readable code. To do this even competently is a skill which
  34. >conspicuously eludes most people who don't write code for a living, and
  35. >to do this with consumate skill requires training, practice, and a
  36. >natural talent given to only a few people. 
  37.  
  38. But noone who only knows programming and not the mathematics involved can
  39. produce the right algorithm, and nobody who does not know the machine
  40. vagaries and even machine instructions not in the HLLs can do the 
  41. necessary machine-dependent choices.  And those who design the hardware
  42. need to understand these complexities to provide the tools to do the
  43. job efficiently.
  44.  
  45. Also, the person with the problem, and the person doing the mathematical
  46. analysis, are usually in possession of quite a bit of information which
  47. can be used to produce better and faster code.  This information is not
  48. known by the compiler writers and language designers, or if known, is
  49. discarded.  Almost 30 years ago, I was informed by one of the IBM
  50. scientific people that, well before the design of the 360 was firm,
  51. they complained about the lack of communication between the integer
  52. and floating units.  Now at that time, it would have been possible
  53. to handle the problem.  Nothing was done.
  54.  
  55. Current hardware and software design is dominated by the view that
  56. integer registers should not be required to do good fast arithmetic
  57. on anything longer than an address, and that floating-point arithmetic,
  58. of the accuracy provided, is adequate for number-crunching.
  59. -- 
  60. Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
  61. Phone: (317)494-6054
  62. hrubin@pop.stat.purdue.edu (Internet, bitnet)  
  63. {purdue,pur-ee}!pop.stat!hrubin(UUCP)
  64.