home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / fortran / 3248 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  3.6 KB

  1. Path: sparky!uunet!mcsun!sun4nl!moene!moene.indiv.nluug.nl
  2. From: toon@moene.indiv.nluug.nl (Toon Moene)
  3. Newsgroups: comp.lang.fortran
  4. Subject: Re: Scientists as Programmers
  5. Message-ID: <351@moene.indiv.nluug.nl>
  6. Date: 27 Aug 92 20:57:38 GMT
  7. References: <1992Aug27.155835.27972@nrao.edu>
  8. Sender: toon@moene.indiv.nluug.nl
  9. Organization: Moene Computational Physics, Amsterdam, The Netherlands
  10. Lines: 59
  11.  
  12. In article <1992Aug27.155835.27972@nrao.edu> cflatter@nrao.edu (Chris  
  13. Flatters) writes:
  14.  
  15. [ ... Is FORTRAN, or the average scientist using this language, to
  16.       blame for the vast amount of bad, impossible to maintain code
  17.       produced ? ...]
  18.  
  19. > In "The Psychology of Computer Programming" Gerald Weinberg divided
  20. > programmers into two classes, professionals and amateurs (pp122-125).
  21. > In his terms most scientists are amateur programmers (I would actually
  22. > prefer to use the term casual programmers, which avoids the somewhat
  23. > derogatory implications of amateurism).  They write programs mainly for
  24. > their own use and often only for a limited number of runs while a
  25. > professional writes programs that other people are expected to use.
  26.  
  27. Sorry, Chris, in circles of professional programmers, 'casual user' or  
  28. 'casual programmer' is as disparaging as 'amateur user or programmer' - it  
  29. simply means the same. I belonged to the group of professional programmers  
  30. for nine years, returning to physics only the last year.
  31.  
  32. > The casual programmer can get a program up and running faster than a
  33. > professional because he can avoid dealing with many issues of software
  34. > quality: he doesn't expect to get people beating on his door to
  35. > complain that an error message or that certain inputs caused his
  36. > program to dump core.  A software specialist has to (or, perhaps more
  37. > realistically, should) bother about the convenience of the user who
  38. > will not know the internals of the program.  The casual programmer
  39. > doesn't need to bother about this and may be somewhat bewildered at the
  40. > time and effort software specialists spend planning a program before
  41. > they write it.
  42.  
  43. I also don't agree with this. Someone who has been a professional  
  44. programmer can't forget to use all kinds of 'proven code' - in whatever  
  45. language. In the code written by the scientists surrounding me I so often  
  46. see things 'that just work in this case and in this case only' that  
  47. 'debugging' becomes very easy :-)
  48.  
  49. > This isn't intended to belittle casual programmers.  They have a 
  50. > different set of priorities from software specialists and so tend to 
  51. > work in different ways.  There is, however, a widespread problem in 
  52. > scientific computing: casual programmers are often dragooned into 
  53. > writing software for other people to use.  This is asking for trouble 
  54. > unless they are willing to change their programming habits.
  55.  
  56. And still, some are doing better than others - I'm sorry, but as far as I  
  57. can see, it's simply a question of: who is chaotic and who's not. The  
  58. people that can't organize papers, talks and their work in general, also  
  59. can't program, period. Unsafe in any language. Of course, FORTRAN helps a  
  60. lot here: inventing variables on the fly, being able to name entries in a  
  61. common block differently in each and every subprogram, being deliberately  
  62. sloppy about the extent and number of dimensions of arrays across  
  63. subprogram calls, having no way of detecting inconsistent use and  
  64. declaration of argument lists to subprograms, etc.
  65.  
  66. --
  67. Toon Moene (toon@moene.indiv.nluug.nl)
  68. Kantershof 269, 1104 GN  Amsterdam, The Netherlands
  69. Tel.: + 31 20 6982029; Fax: + 31 20 6003411
  70. No Disclaimers; a NeXT at home protects against this occupational hazard.
  71.