home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18929 < prev    next >
Encoding:
Text File  |  1992-12-28  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!clsi!mitch
  3. From: mitch@clsi.COM (Mitchell N. Perilstein)
  4. Subject: Re: Pascal as road to C (was Re: Newbie Wants Advice on C-Programming)
  5. In-Reply-To: malak@grebyn.com's message of Mon, 28 Dec 1992 04:57:07 GMT
  6. Message-ID: <MITCH.92Dec28105734@pollux.clsi>
  7. Sender: usenet@clsi.COM
  8. Organization: CAD Language Systems, Inc.
  9. References: <1992Dec24.172333.7339@grebyn.com> <1992Dec25.070024.15672@grebyn.com>
  10.     <1992Dec27.031157.27179@mole-end.matawan.nj.us>
  11.     <1992Dec28.045707.11191@grebyn.com>
  12. Date: 28 Dec 92 10:57:34
  13. Lines: 23
  14.  
  15. Pascal is awful as a first language.  In my experience teaching it to
  16. freshmen pure and applied science students, they spend a huge precentage
  17. of their time worrying about, memorizing, and getting pinched by TA's
  18. for SYNTAX.  They're supposed to be getting concepts like stepwise
  19. refinement, algorithms, variables, etc...
  20.  
  21. I feel MIT is doing the right thing by teaching freshmen a functional
  22. language with very little syntax: scheme. Here is all the syntax you
  23. need to get started. Everything is either
  24.  
  25.         an Atom:    1234    foo    "bar"
  26.         or a List:    (himom 123 (foo "bar") 45 () xyz)
  27.  
  28. There we go.  The rest is semantics. 
  29.  
  30. Another reason is that if they've had a little trig, thinking
  31. functionally is already an established pattern: sin(sqrt(cos(pi))), etc. 
  32.  
  33. Thinking sequentially is a bad habit they can easily pick up later on.
  34.  
  35. ---
  36.  Mitchell N. Perilstein   CAD Language Systems, Inc.   410-992-5700 x225 
  37.  Member, League for Programming Freedom.  Mail lpf@uunet.uu.net for info.
  38.