TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ed Falis <[log in to unmask]>
Reply To:
Date:
Mon, 4 Dec 2000 10:14:42 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
Martin Carlisle wrote:
>It should be noted that Ada 95 also supports "multiple views" (see Section
>4.6.3 of the Ada 95 Rationale).  Admittedly the syntax is more complex than
>Java interfaces, and dynamic testing of interfaces (does object X support
>interface Y?) is not allowed; however, it would seem adequate for their
>purposes given the limited information at the URL you mentioned.

They refer to this technique at some point in their analysis, saying that
it's theoretically possible to use Ada in the context of their framework, but
that the technique introduces too much complexity into the code, and too many
extra classes.  This latter is presumably because a view has to specify some
type for the access discriminant, so if the "outer" types are unrelated to
each other, multiple view types would have to be declared.

- Ed

ATOM RSS1 RSS2