From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: Offical Ada FAQ
Date: Fri, 26 Nov 2004 09:13:41 +1100
Date: 2004-11-26T09:13:41+11:00 [thread overview]
Message-ID: <sa4llcppofe.fsf@snoopy.apana.org.au> (raw)
In-Reply-To: 2004112423222516807%david@bottoncom
>>>>> "David" == David Botton <david@botton.com> writes:
David> Strong typing can be carried too far, and some amount of
David> implicit conversion is essential to make OOP palatable. But
David> note that in Ada 95, even with OOP, we don't allow implicit
David> conversions that truncate the extension part of a record
David> (this is a relatively common mistake in C++ when passing
David> parameters by value).
I would be curious to know more about this common mistake in C++...
David> Question: Why doesn't Ada use 'dot' notation for OO?
Suggestion: Add reference to how this will change in Ada 2005.
David> Question: Are classes first class objects?
Suggestion: Add definition of what is a "first class object".
David> Question: Can you access super methods?
David> Answer: Do you mean "call the operation of the type's
David> parent"?
David> The answer is yes, by converting the object to the parent
David> type, and then invoking the operation.
Does this work with both "in", "in out" and "out" parameters?
For out parameters, what happens if the derived type has extra fields
not in the parent? Is this legal? If it is legal are the extra fields
defined?
David> Question: How do I print an Integer, Float, enumeral using
David> Text_IO or otherwise obtain a string representation of a
David> scalar type?
The built in methods for integers may not always be sufficient. For
example, if you want to print 0001 (integer) or 01.0100
(float). References to a package that can meet these extended
requirements might be a good idea...
David> Question: Does Ada have an XML parser?
David> Answer: There are a few Ada XML parsers available.
David> See http://www.adapower.com/reuse
David> On Windows, you can also use the MSXML COM object via
David> GNATCOM
Why not xmlada? http://libre.act-europe.fr/xmlada/
David> Question: Does Ada have multiple inheritance?
I think Ada 2005 was going to add an "interface" mechanism which will
add another way of doing this.
David> Question: Can I create Web Services and SOAP objects with
David> Ada?
David> Answer: Yes, see AWS
Would a reference to writing Ada CGI scripts be useful here?
David> Question: Can I use CORBA with Ada?
David> Answer: Yes, see AdaPower.com: Ada Libraries: Distributed
David> Computing
Or Glade: http://libre.act-europe.fr/glade/
--
Brian May <bam@snoopy.apana.org.au>
next prev parent reply other threads:[~2004-11-25 22:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-25 4:22 Offical Ada FAQ David Botton
2004-11-25 13:03 ` Rod Chapman
2004-11-25 13:07 ` Ching Bon Lam
2004-11-25 14:05 ` Manuel Collado
2004-11-25 14:44 ` David Botton
2004-11-25 16:45 ` Martin Krischik
2004-11-26 10:24 ` Manuel Collado
2004-11-25 14:33 ` David Botton
2004-11-25 14:31 ` Georg Bauhaus
2004-11-25 16:14 ` Martin Krischik
2004-11-25 17:46 ` David Botton
2004-11-25 17:47 ` David Botton
2004-11-25 20:20 ` Jeffrey Carter
2004-11-25 21:42 ` David Botton
2004-11-25 22:13 ` Brian May [this message]
2004-11-26 3:18 ` David Botton
2004-11-26 9:01 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox