Hacker News new | ask | show | jobs
by giantrobot 1168 days ago
> You can argue that triple equals is a confusing syntax

To me this is the problem with triple equals. The different types of equality should be explicit in their use rather than overloading a sigil.

1 comments

Shouldn't that logic also apply to ==, which overloads the assignment operator (=) in the same way?
Very much agree with this one, but would phrase it as using = to represent assignment was the bad original choice.
If the average keyboard had support, characters like ≡ could be used as the equivalence sigil and ≢ for not equivalent.