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

  1. Xref: sparky comp.edu:1439 comp.lang.fortran:3322 comp.lang.misc:2836 sci.math:10767
  2. Path: sparky!uunet!usc!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
  3. Newsgroups: comp.edu,comp.lang.fortran,comp.lang.misc,sci.math
  4. Subject: Re: Scientists as Programmers
  5. Message-ID: <1992Sep1.044840.2269@ccu1.aukuni.ac.nz>
  6. From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
  7. Date: Tue, 1 Sep 1992 04:48:40 GMT
  8. Organization: University of Auckland, New Zealand.
  9. Lines: 42
  10.  
  11. I think there is quite an important distinction to make when you look at
  12. the type of programs scientists write: what it is for.
  13.  
  14. Personally, I have encountered four types of programs.
  15.  
  16. One is the "one - shot" program, which is typically written to show that
  17. it is safe to neglect X, or that Y holds. These programs are usually
  18. optimized toward development time minimum: just get it running as fast
  19. as possible, no matter how efficient it is, or what dirty tricks it
  20. uses. For these programs, documentation is almost unheard of, and
  21. persuading people to write them "cleaner" is probably going to be
  22. impossible.
  23.  
  24. The second class of program is the "production version", which you
  25. may need to run quite often, say once for every experiment you do.
  26. If efficiency is indeed critical, people may spend some time on
  27. optimizing the code; with some luck, they may even document it.
  28.  
  29. The third class of program is the general libary, which implements
  30. commonly (or not so commonly) used algorithms. Usually, people who write
  31. these use professional software development methods, and probably few CS
  32. purists would find fault with their methods (except that they usually
  33. use FORTRAN :-)
  34.  
  35. The fourth group is that of data aquisition programs. These could
  36. probably benefit most from CS, and yet the experimental scientists who
  37. are usually stuck with writing them for their own rigs are least likely
  38. to have any experience with programming. They might even have to use
  39. a language like GWBasic because the hardware can only be accessed by a
  40. vendor - supplied library.
  41.  
  42. There is, however, another aspect to this. Scientists usually view a
  43. program as a means to an end. Any time they spend on the niceties of
  44. program documentation, code cleanup etc. is going to come straight out
  45. of the time when they could have written that other publication or made
  46. these four extra experiments to check out that exciting new theory.
  47. Making life easier for someone who might someday come across a similar
  48. problem is not going to be high on their list of priorities.
  49. -- 
  50. Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
  51. The joy of engineering is to find a straight line on a double logarithmic
  52. diagram.
  53.