9 ms·
> ≠ is easier to understand than != I respectfully disagree with this claim. It's conventional code notation that != is a Boolean test for (in)equality; that
by throwaway2245 6y ago
> ≠ is easier to understand than !=
I respectfully disagree with this claim.
It's conventional code notation that != is a Boolean test for (in)equality; that convention doesn't apply to ≠, which is overloaded in mathematics.
- kps 6y agoIt's C notation. Other languages use other notations like ~= or /= or <>. And any conceptual overloading of ≠ is a tiny fraction of the problem with = (it's too bad ASCII'67 dropped the ASCII'63 ← in favor of _).
- throwaway2245 6y agoThe != notation has become pretty standard in most common programming languages. What exceptions are there in the top 20 development languages? VBA? But, taking your point, a ligature ≠ would be overloaded in representing != and ~= and /= and <> and becomes potentially very risky.