From: Gunnar G on
Hi.
I'm looking for ideas for a OO programing course with C++.
I need some good examples of programs that one can write that are not to big
(a few hundred up to a thousand lines) is alright, but still feels
meaningful.

Any books, internet references you can give me?

Thank you very much.
From: Doc O'Leary on
In article <_OtCf.43357$d5.199478(a)newsb.telia.net>,
Gunnar G <debian(a)comhem.se> wrote:

> I'm looking for ideas for a OO programing course with C++.

Lose the C++? You can't fully teach OO programming with that mess of a
language.
From: jladd on
I agree with Doc, but I dont want to start a language war. Id suggest
Smalltalk to start with then move onto
C++. It important to teach OO not a language as you can do OO in any
language as long as you
apply the principles.

Once the principles are understood then you can make an exercise up
that exemplifies those principles
one at a time or, in combination.

Rgs, James.
http://www.jamesladdcode.com/moat

From: H. S. Lahman on
Responding to Gunnar G...

> I'm looking for ideas for a OO programing course with C++.
> I need some good examples of programs that one can write that are not to big
> (a few hundred up to a thousand lines) is alright, but still feels
> meaningful.

Assuming from the message title that you are going to be teaching the
basic OO paradigm to novices, then I agree with O'Leary -- C++ is a
terrible place to start. In fact, I would argue that one needs to
understand OOA/D first before going near /any/ OOPL. But if you are
going there, then Smalltalk is probably the best choice.

> Any books, internet references you can give me?

The Books category of my blog has some suggestions for OOA/D books.


*************
There is nothing wrong with me that could
not be cured by a capful of Drano.

H. S. Lahman
hsl(a)pathfindermda.com
Pathfinder Solutions -- Put MDA to Work
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
(888)OOA-PATH



From: Casey Hawthorne on
Are you assuming this is the student's first programming course?

I agree with staying away from C++!

C syntax was never that great, C++ syntax is truly a thing of beastly
beauty!

How about trying Python?

--
Regards,
Casey
 |  Next  |  Last
Pages: 1 2 3 4
Prev: SQL
Next: Unit Testing and Test Cases