374
Best kind of error
(i.imgur.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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.)
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...