Re: Teaching Programming

WHITSTON@LTU.EDU
Mon, 8 Jan 1996 19:40:24 EST

>From: David Stoll dstoll@cln.etc.bc.ca Mill Bay, British Columbia
>In another year AP Computer Science is to switch
>from Standard Pascal to C++ in their placement exam.

Although they are making the switch to C++, they really are making the
switch to C with these C++ extensions:

1) using C++ comments
2) using "cin" in place of "scanf" and "cout" in place of "printf"
3) using the C++ method of passing parameters in functions

>From what I have read, "OBJECTS" won't be part of learning experience.

I'm against having C (or C++) being the first language someone learns.
The language has far too many places to trip up the novice programmer to
make the learning experience a positive one -- I prefer a language that
finds your syntax errors at compile time rather than at run-time. One
example in C: You wanted "a = b;", you typed "a + b;" -- both are valid
syntax, however they won't do the same thing. (And if this example is
confusing to you, I'd be happy to clear it up privately.)

Howard Whitston
User Services/Math & CS Dept.
Lawrence Tech University
whitston@ltu.edu