[1035] in java-interest

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

Re: overloading of operators

daemon@ATHENA.MIT.EDU (Tako Schotanus)
Thu Aug 17 08:02:03 1995

Date: Thu, 17 Aug 95 10:27:17 +0200
To: tomw@intelligraphics.com (Tom Wheeler), java-interest@java.Eng.Sun.COM
From: Tako Schotanus <Tako.Schotanus@bouw.tno.nl>

At 08:55 16-08-95 EDT, Tom Wheeler wrote:
>On Tue, 15 Aug 1995 10:45:23 -0700 you wrote:
>
>>Howdy,
>>
>>> When you are adding number-like class (Matrices, Tensors, Quaterions),
>>> nothing beats Op-Ov for readability.
>>
>>I agree that nothing beats
>>
>>	Matrix a=..., b=..., c;
>>	c = a + b;
>>
>>for readability.  However, I still feel that it would allow too many
>>bad things...the price isn't worth it.
>>
>>> What we want to prevent is the
>>> promiscuous abuse of Op-Ov for whatever might pop into the novice
>>> programmer's so-called brain.
>>
>>True...only way to prevent is to refuse ;)
>
>What you're saying is that because some people will abuse the feature
>nobody should be allowed to have it.  To draw a political analogy,
>this is the same argument gun-control proponents use: because some
>people misuse guns, nobody should be allowed to have them.  Nevermind
>how useful they (guns|overloading) might be, nevermind that the problem
>is the person misusing the tool, just ban the tool.  I for one don't
>fall for that "logic", and I hope the other people here don't either.

Let's stop this, okay? Making these kind of comparisons is absurd!

- Tako
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/               Tako Schotanus, TNO Bouwinformatica                    _/
_/   work: Lange Kleiweg 5, 2288 GH, Rijswijk, NL, tel: +31-15-842393   _/
_/       home: van Hasseltlaan 352, 2625 HZ, Delft, The Netherlands     _/
_/     E-mail: sst@bouw.tno.nl - URL: http://huizen.dds.nl/~quintess    _/
_/ Never let a dictator rule with peace; let peace rule like a dictator _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

-
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