Use one emoji for the NOT operation on π and π’
meithecatte opened this issue Β· comments
βοΈ Proposed change
Currently, the NOT operation of π uses β, while NOT of π’ is π«. I propose that the same emoji is used for both functions. I suggest using π« for this purpose, though I'm open to using β instead.
π€ Rationale
The usage of two separate emojis for the same operation has a number of downsides:
- It takes more effort to remember which emoji you need to use for a specific type.
- It consumes more of the emoji "namespace" for elementary operations, taking away potential meanings from user code (as kept in mind by developers, not necessarily as enforced by the compiler).
- Any Emojicode-specific entry methods will need to disambiguate between the two.
Perhaps it is worth pointing out the prior art in this area - Rust uses the prefix !
operator for both boolean and bitwise NOT.
πΊExample
π π
βͺοΈ π«πβ π€ π«3β π -4 π
π π€Look ma, same emojiπ€ β
π
π
That seems reasonable. I prefer β though. It works nicely for logical not as it includes both a negative aspect (the cross) and a positive one (green).
Note that the emoji is not universally green. Funnily enough, GitHub itself uses a custom font that uses a white background here.
Fair enough, but I still prefer β. It is used way more often than π« so less Code needs to be changed.
Fair enough :D