The Hegemony Of `==` Must End; Welcome The `⩵` Upstart

This is a non sequitur.

Also, as mentioned in the other topic you proposed this, in Julia

if a = b

already errors (with syntax: unexpected "="). But if you are super-concerned about this, just use a linter.

Finally, generally the point of Unicode aliases is to make code look shorter and similar to math. Your proposal does not help with either, so its very likely to end up unused, except by a few people. But since you can already define custom aliases for all functions (again, as mentioned in the other topic), you can just get do this without redesigning the language for everyone.

Let me make a counterproposal along these lines: define your favorite alias for ==, and see how it works out for you. If after 6 months / 10kLOC you still want to press 5+ keys to get what is basically ==, wrap it up in a mini-package and register it. If after a while you get a bunch of users, revive this topic: you will be in a much better position to argue for it.

16 Likes