home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22057 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  2.3 KB

  1. Path: sparky!uunet!stanford.edu!agate!ucbvax!NSCVAX.PRINCETON.EDU!dragon
  2. From: dragon@NSCVAX.PRINCETON.EDU (Mighty Firebreather)
  3. Newsgroups: comp.os.vms
  4. Subject: RE: Programming
  5. Message-ID: <009672EF.61BFAC20.2988@nscvax.princeton.edu>
  6. Date: 26 Jan 93 15:44:56 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 39
  11.  
  12.  
  13.     Chris Tanski <CTANSKI%ONONDAGA.bitnet@CUNYVM.CUNY.EDU> writes:
  14. >
  15. >I am going to be taking a programming course next year and I want to know
  16. >which one to take. My options are: BASIC, Pascal, FORTRAN, C, and COBOL. I
  17. >want to be able to write programs on my VMS acct. so whichever programming
  18. >language is best for that is the one I want. Thanks and please reply directly
  19. >to ctanski@onondaga.bitnet.
  20. >
  21.  
  22.     That's rather a difficult question.  One might as well ask which 
  23. "motor vehicle" is best; a motorcycle, a Chevy, a Masserati, a USAC race
  24. car, or a garbage truck!  If you want to haul garbage, there's nothing like
  25. COBOL^H^H^H^H^H a garbage truck. :-) 
  26.  
  27.     Seriously, Fortran is good for number crunching and usable, with 
  28. difficulty, for almost everything.  COBOL is well suited to accounting type
  29. things; e.g. money.  C is well suited to system programming, less well 
  30. suited to number crunching and ill suited to accounting applications (no 
  31. decimal string arithmetic).  C also tends to be rather cryptic.  BASIC and
  32. Pascal have their proponents but I'm not sufficiently familiar with VAX
  33. BASIC to be able to say what its strenths are and I don't really know
  34. Pascal. 
  35.  
  36.     As a general thing, I'd say it's far more important to learn basic
  37. principles than BASIC.  Learn control structures.  Learn data structures.
  38. Learn to document your work.  More code has wound up in the garbage can for
  39. lack of adequate documentation, than for any other reason (it's easier to 
  40. rewrite it than to figure out how to fix or modify it).
  41.  
  42.  
  43. *************************************************************************
  44. *                                                                       *
  45. *                        Here, there be dragons!                        *
  46. *                      dragon@nscvax.princeton.edu                      *
  47. *                                                                       *
  48. *                                                Richard B. Gilbert     *
  49. *************************************************************************
  50.  
  51.