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
Simon Wright <[log in to unmask]>
Sat, 18 Nov 2006 17:08:19 +0000
text/plain (20 lines)
On 16 Nov 2006, at 01:35, Rick Duley wrote:

> My experience of Booch components is that they are subroutines  
> rather than classes.

Even the Ada83 BCs were packages with private Container types and  
relevant operations; sound like classes to me. The Ada95 BCs use  
tagged types in their implementation but are still generics from the  
user's point of view.

Of course Java containers tend to rely on everything being an Object,  
which is much the same thing.

I don't use Java so don't know what it is that is OO about the  
typical use you describe. I suppose if you have an abstract type that  
provides basic functionality X (eg being a web server, or more likely  
being an HTTP_Response) you can extend it to provide exactly what  
your application needs. That's a powerful approach, don't know how  
many of us have used it.