[944] in java-interest

home help back first fref pref prev next nref lref last post

Re: overloading of operators

daemon@ATHENA.MIT.EDU (John D. Mitchell)
Tue Aug 15 20:09:49 1995

Date: Tue, 15 Aug 1995 14:09:49 -0700
From: "John D. Mitchell" <johnm@CSUA.Berkeley.EDU>
To: Michael Lorton <mlorton@eshop.com>
cc: parrt@parr-research.com, java-interest@java.sun.com
In-reply-to: <199508151649.JAA19230@eshop.com>

Michael Lorton writes:
> FWIW (For what it's worth) I would *favor* operator overloading, with
> severe restrictions (it can only take Objects, it can only return
> Objects, &c) if that helps.

Hmm... That's a reasonable restriction to make in Java but I still think
it's not worth the cost in increased complexity (but I am pretty biased
:-).

But, of course, there's still the issues of operator precedence and
association that cause all sorts of subtle, hard to find bugs.

Take care,
	John

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post