Newsgroups: comp.object,comp.lang.clos,comp.lang.c++
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!hookup!swrinde!howland.reston.ans.net!newsserver.jvnc.net!adl33cc!sbloch
From: sbloch@adl15.adelphi.edu (Stephen Bloch)
Subject: examples for intro OO course
Message-ID: <D2v311.9nB@adl33cc.adelphi.edu>
Sender: news@adl33cc.adelphi.edu (USENET News System)
Nntp-Posting-Host: adl15.adelphi.edu
Organization: Adelphi University, Garden City, NY
Date: Mon, 23 Jan 1995 14:03:00 GMT
Lines: 21
Xref: glinda.oz.cs.cmu.edu comp.object:25482 comp.lang.clos:2701 comp.lang.c++:108861

Hi, folks.  I'm in the "interesting" position of teaching a bunch of
college sophomores OOP without being too solid on it myself.  For
various reasons, I've chosen to teach half of the course in CLOS and
half in C++ (and yes, I know most students won't have time to become
fluent in either).  Anyway, I need lots of pedagogically useful
examples, from "toy" ones to be demonstrated during a lecture to ones
suitable for a month's programming project.  I would particularly like
examples that show off in a natural way the relative strengths of CLOS
and C++: examples that make sense as multimethods, and are thus easier
in CLOS than in C++, and examples that naturally use the C++ facilities
(like "protected") that don't make sense in CLOS.

Any such examples, and other advice from people who have taught such a
course, will be greatly appreciated!  If I get a lot of them, maybe they
belong in an FAQ.

--
                                                 Stephen Bloch
                                           sbloch@boethius.adelphi.edu
                                          (or sbloch@adl15.adelphi.edu)
                                        Math/CS Dept, Adelphi University
