[3805] in java-interest
Re: Fundamental flaw in Java library distribution scheme
daemon@ATHENA.MIT.EDU (David Griswold)
Tue Nov 28 17:39:13 1995
Date: Tue, 28 Nov 95 10:52:41 PST
To: wnj@sw.central.Sun.COM (Bill Joy)
From: david@longview.com (David Griswold)
Cc: java-interest@java.Eng.Sun.COM
You wrote:
>in particular, we discussed taking out method overloading.
>i was in favor of this, but it judged
>to be very useful for the simple cases,
>namely t.print etc.
>
>saying t.printint, t.printreal, ... makes programs less
>readable not more, and readability is a major goal of the language.
Given Java's object model, I can see your point. I would just point
out that in languages that have a unified object model, like Smalltalk
and Self, these simple (i.e. one argument changing) cases are exactly
the ones that can easily be handled without overloading using basic
techniques like double dispatching (e.g. coercive arithmetic in Smalltalk).
But that is another topic altogether....
-Dave
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com