3 ms·
I personally like font ligatures, but I'd much rather have true Unicode "synonyms". E.g why shouldn't `!=` and `≠` be synonymous tokens?
by nerdponx 4y ago
I personally like font ligatures, but I'd much rather have true Unicode "synonyms". E.g why shouldn't `!=` and `≠` be synonymous tokens?
- phinnaeus 4y agoThis would have to be at the language level, surely. Even comparing "case" is filled with weird complexity, comparing equality in this way seems fraught.
- iamevn 4y agoAbsolutely, my ideal would be for the canonical form in the codebase to just be the abstract token. It would have one or more possible names stored in the codebase. Then each developer would be able to choose the names they'd prefer to see and type in their editors. (Decoupling the name of a code unit from the actual reference to/implementation of it is one of the things I'm really excited about in the Unison programming language.)
- spicybright 4y agoThat would make it extremely difficult to talk to anyone else about the code though, no? You'd have to spend time finding and learning the "common" ground between every fellow developer you talk to.
- tonmoy 4y agoThere could be non-programming use cases where one might need to use != instead of ≠