TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

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

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

Print Reply
Jean-Pierre Rosen <[log in to unmask]>
Fri, 18 Sep 1998 18:31:07 +0200
text/plain (21 lines)
>> > * Java is a small language (not necessarily an advantage, but certainly a difference)
>> > * Java is "pure" OO. This is probably the biggest technical advantage of Java
>> > over Ada. A hybrid language like Ada95 or C++ tends to be the worst of two worlds.
>Where is it written that "pure OO" is a necessary or even
>desirable goal?  I believe in mixing the gene pool.
>-- Dave Wood, Aonix
>-- Product Manager, ObjectAda for Windows
I wholeheartidly concur. I'm playing currently with Ada-Java, and I am horrified by the way awt (the widgets toolkit) is written.
Everything is an object, i.e. to tell that a button is blue, you must dynamically create an object initialized with the color blue.

To load a web page, you dynamically create a URL object, initialized with a dynamically created STRING object, initialized with the URL...
No wonder those people badly need garbage collection!

I would argue that the Java API is a typical abuse of the OO paradigm.

(I guess this message could be seen as a troll in some newsgroups - hopefully not here ;-)