|
|
|
|
|
by xigoi
18 days ago
|
|
> I think operator overloading would be a very bad feature for an enterprise language like Java which needs to be consistent above all else. Operator overloading increases consistency. Instead of having int a = b + c;
CustomNumberType x = y.add(z);
you have int a = b + c;
CustomNumberType x = y + z;
|
|
But not having operator overloading when dealing with vectors is maddening.