| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Mon, 27 Nov 1995 15:28:15 +0700
From: wnj@sw.Central.Sun.COM (Bill Joy)
To: perry@cdt.luth.se, david@longview.com
Cc: java-interest@java.Eng.Sun.COM, flar@bendenweyr.Eng.Sun.COM,
wnj@sw.Central.Sun.COM
the reason we don't do dynamic overload resolution in the
way that you suggest is that it moves the detection of overload
ambiguities to runtime. we want these ambiguities to be
detected at compile time, in the spirit of a strongly typed
language.
if you have all the source, you can recompile.
in the many cases where you don't, you can still run
the old .class files and they will dispatch to the method
that was defined in the class against which they were compiled.
under your proposal, they would get runtime errors, and you
would be in a real fix, not having the source.
wnj
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |