this post was submitted on 11 Aug 2023
362 points (98.1% liked)
Programmer Humor
32566 readers
290 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Was recently looking for emojis to indicate success/failure in a CLI and for a checkmark, you have these options: ✔️✅☑️
I figured, I'd take the one with green background for best visibility.
Now for an X-emoji, we've got this one: ❌
But isn't there one with a background, too?
Well, yes, there is, but: ❎
(That's displayed with a green background on most systems, in case it's showing differently for anyone.)
You know, what would be revolutionary?
If we could apply our own colors to text symbols. Similar to how there's different skin colors for emojis, but you could set any color.
I know what you're saying, we'd need to come up with a whole system for having colors in texts, that's never going to happen, and I hear you, but a man can dream, you know.
Be the change you want to see, fuck Unicode in the ass with weird decisions that end up staying around for hundreds of years because it becomes the new standard.
Try to get full sRGB or similar color variety working, but struggle, give up, and bodge together a shitty pre-selected system of 117 colors where your orange is weirdly brown and you completely forgot to include any kind of purple/magenta.
I believe in you, you can do this.
https://developer.chrome.com/blog/colrv1-fonts/
There are also the colored circles 🔴,⭕ and 🟢. The worst part for me is that while the emojis are technically one char in code, they are usually displayed with a 2-char-width.
Yeah, I considered the circles, but for folks with red-green color blindness, that difference in shape is essential.
And as for 2-char-width, normally I'd agree, but I could have used ✓× with manually set font color, and well, I didn't.
The emojis are preferable to me, because they stand out from normal text. And they do that, because they are bigger and because their bigger size allows plastic design elements...