[LINK] REAL Basic language for Win, Mac and Linux
Gordon Keith
gordonkeith at acslink.net.au
Fri Jun 17 13:51:36 EST 2005
On Fri, 17 Jun 2005 13:32, Rick Welykochy wrote:
> 2. Containers only hold base class objects; up-casting is required to
> extract, say, a Person object from a list. This is plain wrong. And
> it is often called the 'goto' of data. Run-time excpetions anyone?
> Other lanugages do not have this problem AFAIK, although O-O Pascal
> can be messy in this regard as well.
>
> 3. No support for generic programming, so-called templates. A good O-O
> language either supports dynamic typing or genericity or both. Java
> provides neither.
I think both of these problems have been fixed in Java 1.5 aka Java 5.
Java now (as of six months ago) has generic types
http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html
Regards
Gordon
More information about the Link
mailing list