On Fri, 2016-01-01 at 10:45 +0000, Ola Fosheim Grøstad via Digitalmars-
d wrote:
> 
[…]
> In D1 Walter made a point about restricting operator overloading 
> to discourage reuse of operators. In D2 there are many ways to 
> […]

Java also went the route of "operator definition is too hard for
programmers to deal with so we will not allow it". Every language on
the JVM other than Java has made a point of allowing, indeed
encouraging, sensible operator definition (*).  Sadly too few people
working on the JVM are allowed to use languages other than Java.

(*) Arguably Scala takes this too far.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to