comp.lang.ada
 help / color / mirror / Atom feed
From: "Ehud Lamm" <mslamm@mscc.huji.ac.il>
Subject: Re: (elementary question) Test on type ?
Date: Wed, 5 Sep 2001 20:33:36 +0200
Date: 2001-09-05T20:33:36+02:00	[thread overview]
Message-ID: <9n5npp$vsd$1@news.huji.ac.il> (raw)
In-Reply-To: fwql7.4754$4z.14897@www.newsranger.com

Ted Dennison <dennison@telepath.com> wrote in message
news:fwql7.4754$4z.14897@www.newsranger.com...
> Hack 2: Make the user supply the non-common code themselves as a procedure
> parameter. (works well if the non-common stuff can be put together, and it
> doesn't rely on package-internal stuff, and you can trust the clients to
get
> this code right. Not so good if its stuff the clients shouldn't have to
worry
> about doing themselves.
>

You can refine this using a layerd design, so that the client is shielded
from the internal details, by adding a top layer that uses the generic, and
defines the required subprogram parameters . In some cases child units may
come in handy (if you must rely on internal deails).

Ehud Lamm





  parent reply	other threads:[~2001-09-05 18:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-04  8:41 (elementary question) Test on type ? Reinert Korsnes
2001-09-04  9:18 ` David C. Hoos, Sr.
2001-09-04  9:29   ` Reinert Korsnes
2001-09-04 11:02     ` Jacob Sparre Andersen
2001-09-04 11:05       ` Reinert Korsnes
2001-09-04 11:39         ` John McCabe
2001-09-04 13:30         ` Marin David Condic
2001-09-04 14:07           ` Ted Dennison
2001-09-04 14:48             ` Marin David Condic
2001-09-04 18:35               ` Mark Biggar
2001-09-04 19:33                 ` Marin David Condic
2001-09-04 14:15         ` Ted Dennison
2001-09-05  9:14           ` John McCabe
2001-09-05 14:19             ` Ted Dennison
2001-09-05 16:24               ` John McCabe
2001-09-05 18:33               ` Ehud Lamm [this message]
2001-09-06  9:36           ` Reinert Korsnes
2001-09-06 17:10             ` (elementary question) Test on type ? Pragma inline(granularity)? Warren W. Gay VE3WWG
  -- strict thread matches above, loose matches on Subject: below --
2001-09-04 17:55 (elementary question) Test on type ? Beard, Frank
2001-09-05  9:16 ` John McCabe
replies disabled

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