comp.lang.ada
 help / color / mirror / Atom feed
From: "Ehud Lamm" <mslamm@mscc.huji.ac.il>
Subject: Re: List Container Straw Man
Date: Sat, 10 Nov 2001 21:50:44 +0200
Date: 2001-11-10T21:50:44+02:00	[thread overview]
Message-ID: <9sk0mc$39j$1@news.huji.ac.il> (raw)
In-Reply-To: 9sib28$13aeg3$6@ID-25716.news.dfncis.de

Nick Roberts <nickroberts@adaos.worldonline.co.uk> wrote in message
news:9sib28$13aeg3$6@ID-25716.news.dfncis.de...
> Well, I've shown a few examples of using my design. It basically requires
> two instantiations (one generic parameter each). Students could learn this
> pattern by rote until they got to understanding it (just like
Sequential_IO
> and Direct_IO). I can't believe that it's too complicated for anyone.
>

Essentialy I agree. I can live with giving an example, and saying "You'll
understand when you grow up."
My problem is on a more semantic level. To understand your approach students
must understand about inheritance (or so it seems to me). It is not like
instanating Integer_IO, which results in having "normal" procedures.

(And even this was deemed enough trouble, so Integer_Text_IO was defined).

Now perhaps my approach is all wrong - and people should start with
inheritance, only to graduate to old-fashioned procedural thinking.
I really am not sure. But as things are right now, many Ada programmers come
from Ada-83, not from Smalltalk... Many students follow a similar path from
Pascal/C to Ada/Java.

Ehud





  reply	other threads:[~2001-11-10 19:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 16:45 List Container Straw Man Nick Roberts
2001-11-06 17:29 ` Stephen Leake
2001-11-06 18:25   ` Marin David Condic
2001-11-06 23:02     ` Nick Roberts
2001-11-07 19:49       ` Stephen Leake
2001-11-07 20:30         ` Marin David Condic
2001-11-07 23:58           ` Nick Roberts
2001-11-08  4:34             ` Jeffrey Carter
2001-11-08 10:45             ` Ehud Lamm
2001-11-08 19:09               ` Nick Roberts
2001-11-09 16:32                 ` Ted Dennison
2001-11-10  2:20                   ` Nick Roberts
2001-11-10 19:50                     ` Ehud Lamm [this message]
2001-11-11  3:48                       ` Nick Roberts
2001-11-08 10:41           ` Ehud Lamm
2001-11-08 19:20             ` Marin David Condic
2001-11-08 20:35               ` Ehud Lamm
2001-11-09 16:39             ` Ted Dennison
2001-11-08  0:06         ` Nick Roberts
2001-11-09 16:16           ` Stephen Leake
2001-11-09 16:24             ` Ehud Lamm
2001-11-09 16:52               ` Brian Rogoff
2001-11-09 18:04             ` Darren New
2001-11-09 20:05               ` Stephen Leake
2001-11-10  3:24             ` Nick Roberts
2001-11-06 23:52   ` Nick Roberts
2001-11-07  4:44     ` A question and a request Eric Merritt
2001-11-07 11:00       ` Preben Randhol
2001-11-07 12:54         ` David C. Hoos, Sr.
2001-11-08  2:35           ` dale
2001-11-07 13:24         ` Eric Merritt
2001-11-07 13:58       ` James Rogers
2001-11-07 16:32       ` Jeffrey Carter
2001-11-09 23:32       ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox