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

  1. Path: sparky!uunet!crdgw1!rpi!uwm.edu!ux1.cso.uiuc.edu!moe.ksu.ksu.edu!mccall!mccall!tp
  2. From: tp@mccall.com (Terry Poot)
  3. Newsgroups: comp.os.vms
  4. Subject: RE: Programming
  5. Message-ID: <1993Jan27.171833@mccall.com>
  6. Date: 27 Jan 93 23:18:33 GMT
  7. References: <009672EF.61BFAC20.2988@nscvax.princeton.edu>
  8. Reply-To: tp@mccall.com (Terry Poot)
  9. Organization: The McCall Pattern Co., Manhattan, KS, USA
  10. Lines: 59
  11. Nntp-Posting-Host: mis1
  12. Nntp-Posting-User: tp
  13.  
  14.  
  15. In article <009672EF.61BFAC20.2988@nscvax.princeton.edu>,
  16. dragon@NSCVAX.PRINCETON.EDU (Mighty Firebreather) writes:
  17. >    Chris Tanski <CTANSKI%ONONDAGA.bitnet@CUNYVM.CUNY.EDU> writes:
  18. >>
  19. >>I am going to be taking a programming course next year and I want to know
  20. >>which one to take. My options are: BASIC, Pascal, FORTRAN, C, and COBOL. I
  21. >>want to be able to write programs on my VMS acct. so whichever programming
  22. >>language is best for that is the one I want. Thanks and please reply directly
  23. >>to ctanski@onondaga.bitnet.
  24.  
  25. My first recommendation is find out what language compilers are actually
  26. available! All those and more are available for VMS, but your university may not
  27. have them all.
  28.  
  29. >    Seriously, Fortran is good for number crunching and usable, with 
  30. >difficulty, for almost everything.  COBOL is well suited to accounting type
  31. >things; e.g. money.  C is well suited to system programming, less well 
  32. >suited to number crunching and ill suited to accounting applications (no 
  33. >decimal string arithmetic).  C also tends to be rather cryptic.  
  34.  
  35. Beware of such stereotypes, however, because few applications are that pure, and
  36. the stereotypes are of dubious quality to begin with.
  37.  
  38. >    As a general thing, I'd say it's far more important to learn basic
  39. >principles than BASIC.  Learn control structures.  Learn data structures.
  40. >Learn to document your work.  More code has wound up in the garbage can for
  41. >lack of adequate documentation, than for any other reason (it's easier to 
  42. >rewrite it than to figure out how to fix or modify it).
  43.  
  44. All extremely true. To learn data structures and control structures, the useful
  45. and widely available languages are C, Pascal, PL/I, Ada, and Modula (any
  46. flavor). IMHO, the best language to _learn_ these things is Pascal. That's what
  47. it was designed for (teaching programming) and it does it well. (disclaimer - I
  48. don't know enough about Modula to evaluate it relative to Pascal in this
  49. regard.)
  50.  
  51. As a professional programmer, however, you won't find a tremendous amount of
  52. work with Pascal. On the other hand, as a professional programmer, you should
  53. know more than one language, and be able to learn new ones easily, so this isn't
  54. much of a problem. As a language for doing real work, I prefer C, but others
  55. will prefer other languages. 
  56.  
  57. C seems to be becoming the general purpose language of choice in the industry,
  58. but various segments of the industry use other languages: COBOL & any number of
  59. proprietary so-called fourth generation languages (business/finance), FORTRAN
  60. (engineering, scientific research), Ada (government work), Lisp & Prolog
  61. (Artificial Intelligence). The coming wave seems to be object oriented
  62. programming (C++, Smalltalk) and may in fact be a significant part of the
  63. general programming market by the time you graduate.
  64.  
  65. So, use Pascal to learn modern control and data structures. Learn C, COBOL, 
  66. FORTRAN, and Ada to impress your friends and get a job. Learn C++, Smalltalk,
  67. and Lisp to impress your teachers. Learn databases, X/Motif, and networks to get
  68. a good job. 
  69. --
  70. Terry Poot <tp@mccall.com>                   The McCall Pattern Company
  71. (uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
  72. (800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
  73.