home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!rhlab!bkuhn
- From: bkuhn@rhlab.UUCP (bmk Bradley Kuhn)
- Newsgroups: comp.lang.c
- Subject: Re: Why should POINTERS be so damn hard to understand ?
- Summary: C as a first language
- Message-ID: <485@rhlab.UUCP>
- Date: 28 Aug 92 13:39:27 GMT
- References: <9208251159.AA04122@ult4> <1992Aug26.124652.9509@alw.nih.gov> <l9nl34INNhln@almaak.usc.edu>
- Organization: Baltimore Rh Laboratory, Inc., Maryland
- Lines: 59
-
- In article <l9nl34INNhln@almaak.usc.edu>, ajayshah@almaak.usc.edu (Ajay Shah) writes:
- > tony@nexus.yorku.ca (Anthony Wallis) writes:
- >
- > >Jim Sullivan (sullivan@alw.nih.gov), in response to
- > >> > When learning C, what things did you find the most
- > >> > confusing/difficult to understand?
- > >says
- > >> What else?... POINTERS!
- >
- > >(This seems to be a common gripe from students subjected to that
- > > Blaise-ing insult known as "Pascal" too.)
- >
- > On the contrary, I did a fortran --> basic --> pascal --> turbo pacal
- > --> awk --> C route. I found that an Extremely crisp clarity
- > with Pascal pointers was a great asset in quickly jumping into
- > pointers with C.
-
- I took the: basic --> pascal (but never learned pointers) --> C (w/pointers)
- --> pascal (w/pointers) route.
-
- > Most pascal students don't have time enough in a first course to
- > really think about pointers.
-
- IMHO, I think it is best to get right into linked list and pointers right after
- learning arrays. The constrast w/ arrays shows the value of pointers/linked
- lists, and it is easiest to see when the student has the concept of arrays
- and direct acess memory storage fresh in the mind.
-
- > IMHO Pascal is still the best first teaching language I can see.
-
- I think that it is time to switch to C (Wirth would tell us Modula-2 :-).
- Pascal became a first language when it was the most popular language in use.
- C is now the most popular, and it's time as an introductional language has
- come. Pointers could be held off until a second level course, and then the
- student is not so overwhelmed by the C, since the basic concepts are already
- in place, and the advanced concept of pointers can be more in focus.
- Actually, I found it to be quite a let down, after mastering C, to return
- and finish pascal (I learned C on my own, and they made me take the extra
- pascal). I remember the day in class that pointers were introduced, I thought
- to myself "THAT'S IT! HOW USELESS!"
-
- > If you have not laboured
- > writing x = x + 1; thousands of times, you won't appreciate
- > ++x and x++.
-
- Granted, there is something to be said for that. I remember first learning
- differential calculus. We had 40 problems to find derivatives using the
- limit definition. It took me 4 hours. The next day, the teacher told us
- to " multiply by the power and drop it one". I was P.O.'d but I will never
- forget the limit definition of a derivative.
-
- That being said, I think that there is a point where we have to give
- rookies the advantages of our labors. We don't make First year students in
- CS write assembler code before they are permitted to use high-level languages.
- --
-
- -- Bradley M. Kuhn Computer Systems Development, Inc.
- INTERNET: rhlab!bkuhn@uunet.uu.net OR bkuhn@loyola.edu
- UUCP: ...uunet!rhlab!bkuhn
-