[967] in java-interest

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

Re: overloading of operators

daemon@ATHENA.MIT.EDU (Robert O'Callahan)
Tue Aug 15 23:29:17 1995

Date: Tue, 15 Aug 1995 09:08:08 -0400
To: java-interest@java.sun.com
From: "Robert O'Callahan" <roc+@cs.cmu.edu>

One more voice in the crowd - NO to overloaded operators.  The demented ones
who want to program in C++ can program in C++.  Speaking as a reformed one
myself.

While I'm on a rant, let's not have "read-only variables" either.  Getter
functions will do the job nicely.  The only major new feature I'd consider
worthy of adoption would be parameterized classes, and then only if it was
done really, really right.

Oh, and please fix the syntax, including the "new" operator.  I also vote
for using :: or some other token as the package seperator; if you're going
to use C's damaged operator hierarchy for the sake of familiarity, you might
as well do it right and fix the parsing problems too.  Do it now while
there's still time!  If you make Java really easy to parse, everybody wins.

Rob
======================================================================
Robert O'Callahan (roc+@cs.cmu.edu) 1st year CMU SCS PhD
Home page: http://www.cs.cmu.edu/~roc
"This bowl of lukewarm tapioca represents my brain.  Bestow thy flickering
light forever." - Calvin & Hobbes, regarding television

-
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