From: Marin David Condic <nobody@noplace.com>
Subject: Re: XML DOM Binding for Ada 95 - matter of style
Date: Tue, 05 Aug 2003 15:59:35 -0400
Date: 2003-08-05T20:00:07+00:00 [thread overview]
Message-ID: <3F300CA7.2020003@noplace.com> (raw)
In-Reply-To: g9QWa.1856$jp.261@newsread4.news.pas.earthlink.net
You can use type extension without adding anything "dynamic" to a
system. Its a perfectly good way of adding things to a record type that
already exists. The "dynamic" part happens only if you are using
dispatching in some way. AFAIK, you can add subprograms with a type
extension that can be determined statically. They just can't be used as
class-wide operations.
People have different styles. I don't object to discriminated records
totally - it can be made to work and in some cases, it is a reasonable
reflection of a given design. However, since Ada got tagged records and
is capable of making classes, I think it has diminished the need for
things like discriminated records because tagged records are so much
more powerful and they address the same need. In the case of the XML
DOM, I thought they were a more natural reflection of the design. You
may have done it differently and it may work fine, but I don't think it
lines up well with the intent of the DOM spec - at least not as well as
tagged records would have.
MDC
Matthew Heaney wrote:
>
>
> The type extension exists in order to implement the dynamically bound
> operation.
>
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/
Send Replies To: m c o n d i c @ a c m . o r g
"In general the art of government consists in taking as
much money as possible from one class of citizens to give
to the other."
-- Voltaire
======================================================================
next prev parent reply other threads:[~2003-08-05 19:59 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-30 11:32 XML DOM Binding for Ada 95 - matter of style DENNY VRANDECIC
2003-07-30 12:33 ` Martin Dowie
2003-07-30 15:20 ` Denny Vrandecic
2003-07-30 16:33 ` Stephen Leake
2003-07-31 10:57 ` Marin David Condic
2003-07-31 11:27 ` Preben Randhol
2003-07-31 13:10 ` Matthew Heaney
2003-07-31 19:04 ` Simon Wright
2003-08-02 14:40 ` Matthew Heaney
2003-07-31 20:25 ` Randy Brukardt
2003-08-01 11:46 ` Marin David Condic
2003-08-02 3:40 ` Matthew Heaney
2003-08-02 12:08 ` Marin David Condic
2003-08-02 14:46 ` Matthew Heaney
2003-08-02 21:25 ` Ed Falis
2003-08-05 19:59 ` Marin David Condic [this message]
2003-08-03 16:42 ` Matthew Heaney
2003-08-04 8:04 ` Dmitry A. Kazakov
2003-08-05 8:00 ` Georg Bauhaus
2003-08-05 11:46 ` Dmitry A. Kazakov
2003-08-05 13:34 ` Georg Bauhaus
2003-08-06 9:03 ` Dmitry A. Kazakov
2003-08-06 18:15 ` signature like constructions (was: Re: XML DOM Binding for Ada 95 - matter of style) Georg Bauhaus
2003-08-07 10:12 ` Dmitry A. Kazakov
2003-08-07 16:22 ` signature like constructions Georg Bauhaus
2003-08-08 8:31 ` Dmitry A. Kazakov
2003-08-08 10:12 ` Robert I. Eachus
2003-08-08 13:29 ` Dmitry A. Kazakov
2003-08-08 19:37 ` Robert I. Eachus
2003-08-09 0:58 ` Alexander Kopilovitch
2003-08-09 7:39 ` Robert I. Eachus
2003-08-10 1:30 ` Alexander Kopilovitch
2003-08-10 4:11 ` Robert I. Eachus
2003-08-11 10:25 ` Dmitry A. Kazakov
2003-08-08 23:44 ` Alexander Kopilovitch
2003-08-11 9:54 ` Dmitry A. Kazakov
2003-08-11 14:59 ` Alexander Kopilovitch
2003-08-12 9:54 ` Dmitry A. Kazakov
2003-08-13 22:28 ` Alexander Kopilovitch
2003-08-09 8:32 ` Simon Wright
2003-08-09 15:32 ` Robert I. Eachus
2003-08-07 12:52 ` XML DOM Binding for Ada 95 - matter of style Matthew Heaney
2003-08-07 15:03 ` Dmitry A. Kazakov
2003-08-07 12:28 ` Matthew Heaney
2003-08-05 20:05 ` Marin David Condic
2003-07-30 16:34 ` Martin Dowie
2003-07-30 17:54 ` tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox