home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17906 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.8 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!s09a05!exuhag
  2. From: exuhag@exu.ericsson.se (James Hague)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: How should I learn C?
  5. Message-ID: <1992Dec29.162949.4283@exu.ericsson.se>
  6. Date: 29 Dec 92 16:29:49 GMT
  7. References: <rlcarr.09er@animato.network23.com>
  8. Sender: news@exu.ericsson.se
  9. Reply-To: exuhag@exu.ericsson.se
  10. Organization: Ericsson Network Systems, Richardson, TX
  11. Lines: 23
  12. Nntp-Posting-Host: s09a05.exu.ericsson.se
  13. X-Disclaimer: This article was posted by a user at Ericsson.
  14.               Any opinions expressed are strictly those of the
  15.               user and not necessarily those of Ericsson.
  16.  
  17. Rich Carreiro writes:
  18. >
  19. >Isn't C older than Pascal?  In any case, get a copy of Brian Kernighan's classic
  20. >_Why Pascal Is Not My Favorite Programming Language_ (or some similar title).
  21. >It's available somewhere; it was posted to alt.folklore.computers a month or
  22. >so ago.  It's a wonderful point-by-point listing of the serious things that
  23. >are wrong with Pascal.
  24.  
  25. Of course, no one uses 100% standard Pascal for anything but computer
  26. science courses or relatively simple programs.  But with a few decent
  27. extensions, like those in Turbo Pascal for the PC, Pascal becomes very
  28. useful and basically equivalent to C.  You lose portability, naturally.
  29.  
  30. Most of these extensions are those introduced in Modula-2:  a generic
  31. parameter type, type transfer functions, open-ended arrays, etc.  The
  32. advantage being that you get a cleaner syntax (I much prefer pointer
  33. indirection as a postfix operator, for one).  Again, this is less portable,
  34. especially when it comes to standard library functions (which Pascal
  35. provides very few of).
  36.  
  37. --
  38. James Hague   
  39. exuhag@exu.ericsson.se
  40.