Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!talcott!panda!genrad!decvax!bellcore!ulysses!mhuxr!mhuxn!ihnp4!ihwpt!crocker From: crocker@ihwpt.UUCP (ron crocker) Newsgroups: net.lang.pascal,net.college Subject: Re: pascal ass intro. language Message-ID: <717@ihwpt.UUCP> Date: Fri, 21-Feb-86 10:55:21 EST Article-I.D.: ihwpt.717 Posted: Fri Feb 21 10:55:21 1986 Date-Received: Mon, 24-Feb-86 08:06:16 EST References: <109@polyob.UUCP> Distribution: net Organization: AT&T Bell Laboratories Lines: 31 Xref: linus net.lang.pascal:471 net.college:1089 > *** REPLACE THIS LINE WITH YOUR MESSAGE *** > am interested to hear pros and conss about using pascal as the > language in which to teach introductory programming I think PASCAL is a good choice for an introductory programming language, but others are fine. What PASCAL offers that some other languages do not is: 1) recursion This is a nice thing for introductory classes. I remember when I took CS 121 at the U of I we used PL/I and used the recursive features of the language to implement a recursive solution to the Tower of Hanoi problem and implement a simple recursive descent parser (although we didn't know that was what we were doing). 2) strong type checking This will help keep these new programmers in line. (Just imagine a new programmer with C!) 3) data structures. By having an introduction to simple data structures early can help with more complicated structures later. PASCAL offers a fairly flexible method for implementing data structures. PASCAL has drawbacks (I/O for one) but is a better choice than BASIC for an introductory course, in my opinion. Ron Crocker AT&T Bell Laboratories Naperville-Wheaton Road Naperville, IL 60566 Opinions expressed are mine alone and have nothing to do with my employer or their agents.