comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Parameterless generic instance in place of opaque type instance
Date: Sun, 28 Jul 2013 08:36:36 +0200
Date: 2013-07-28T08:36:36+02:00	[thread overview]
Message-ID: <op.w0w5zaxpule2fv@cardamome> (raw)
In-Reply-To: op.w0w3syewule2fv@cardamome

Le Sun, 28 Jul 2013 07:49:36 +0200, Yannick Duchêne (Hibou57)  
<yannick_duchene@yahoo.fr> a écrit:
> Just that I've not seen that pattern too much (to be honest, never), so  
> I would like to know if there are people here who already did this and  
> what can be reported about this pattern on the long run.

The Ada 95 Q&S Guide mention this pattern, and seems to have no more to  
say about it, not more than what is obvious:
http://www.adaic.org/resources/add_content/docs/95style/html/sec_8/8-3-5.html
They call this pattern, “Generic Abstract Data Object”.

If this Q&S Guide mention it, it must have been used by some people  
sometimes, so may be I'm just not wrong if I opt for this. The only issue  
then could be: do compilers handle this well? (without unnecessary  
duplication).

I still welcome any comments, if there are some worth to be reported.

-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University

  reply	other threads:[~2013-07-28  6:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-28  5:49 Parameterless generic instance in place of opaque type instance Yannick Duchêne (Hibou57)
2013-07-28  6:36 ` Yannick Duchêne (Hibou57) [this message]
2013-07-28  7:02   ` Yannick Duchêne (Hibou57)
2013-07-28  7:26     ` Yannick Duchêne (Hibou57)
2013-07-28  7:30 ` J-P. Rosen
2013-07-28  8:24   ` Yannick Duchêne (Hibou57)
2013-07-28 18:08     ` Shark8
2013-07-28 19:47       ` Yannick Duchêne (Hibou57)
2013-07-28 20:58         ` Shark8
2013-07-28 22:27           ` Yannick Duchêne (Hibou57)
2013-07-28 21:15         ` J-P. Rosen
2013-07-28 22:23           ` Shark8
2013-07-28 14:52 ` Robert A Duff
replies disabled

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