[3947] in java-interest
Re[4]: RFC "Off the Web Java"
daemon@ATHENA.MIT.EDU (Horlock Neil)
Tue Dec 5 06:45:25 1995
Date: Tue, 5 Dec 1995 09:37:14 +0000
From: Horlock.Neil.@.ext06lon@ft.com (Horlock Neil)
To: "R. Mark Volkmann"<m224873@svmstr01.mdc.com>
Cc: java-interest@java.sun.com
I guess that Java has the ability to take the best of both worlds in this
circumstance.
If you based all your generic classes on the object object you have a common
ancestor through which you can store these. Then you can ensure that all
objects implement the required methods by using interfaces. This is not perfect
as you have to reinvent the methods each time but it does provide a method of
sorts which should help prevent even the early discovered errors in Smalltalk
programs.
Neil
horlock.neil@ft.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com