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