this post was submitted on 11 Aug 2023
235 points (100.0% liked)

Programmer Humor

854 readers
11 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Knusper@feddit.de 14 points 1 year ago (4 children)

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.)

[–] peeteer@feddit.de 2 points 1 year ago (1 children)

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.

[–] Knusper@feddit.de 3 points 1 year ago

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...

load more comments (2 replies)