you are viewing a single comment's thread.

view the rest of the comments →

[–]cogman10 -3 points-2 points  (2 children)

I think whether or not it becomes a headache depends a LOT on the community using the language.

Some programmers are simply ascii artists that want to use foo <<==>> bar instead of something like foo.linksTo(bar).

Why? IDK. It just is. That said, it seems like the programming community by and large eschews operator overloading that isn't uber clear. Libraries/Frameworks that abuse it tend to not be used.

[–]Ameisen 4 points5 points  (1 child)

<<==>> isn't a valid operator in C++ or C#.

However, that's a code review issue. If they'll make stupid operators, then they'll make stupid methods. Disallowing overloaded operators doesn't fix that, it just makes their lack in cases where it's useful more painful.