Why Java Doesn't Need Operator Overloading (and Very Few Languages

Yigal Chripun yigal100 at gmail.com
Wed Apr 15 08:55:43 PDT 2009


On 15/04/2009 18:50, BCS wrote:
> Hello Yigal,
>
>
>> sounds silly to me. Why not simply generalize and allow defining
>> in-fix functions like in functional languages? that also includes
>> allowing
>> any unicode character[s].
>
> lexing and (more importantly) parsing become a major problem if you
> allow that
>
>
Since it is done in other languages (for example Scala), I'm sure it's 
not impossible to implement.
I don't think Scala is that much more troublesome to lex/parse.



More information about the Digitalmars-d mailing list