Make sure terminal detection is turned off, and, for god’s sake, don’t honor the NO_COLOR environment variable.
Otherwise, people will be able to run your stuff in production and read the logs.
While rockets and hearts seem more like unnecessary abuse, there are a few icons that really make sense in CLI and TUI programs, but now I'm hesitant to use them as then people who don't know me get suspicious it could be AI slop.
Sane languages have much less of this problem but the damage was done by the cargo cultists.
Much like how curly braces in C are placed because back in the day you needed you punch card deck to be editable, but we got stuck with it even after we stared using screens.
Can you expand on this? What do curly braces have anything to do with punch card decks being editable? What do screens?
By putting the final curly brace on it's own card, and hence line, it meant you could add lines to blocks without having to change the old last line.
E.g. the following code meant you only had to type a new card and insert it.
for(i=0;i<10;i++){ /* Card 1 */
printf("%d ", i); /* Card 2 */
} /* Card 3 */
for(i=0;i<10;i++){ /* Card 1 */
printf("%d ", i); /* Card 2 */
printf("%d\n", i*i); /* Card 3 */
} /* Card 4 */
But for following had to edit and replace an old card as well. for(i=0;i<10;i++){ /* Card 1 */
printf("%d ", i);} /* Card 2 */
for(i=0;i<10;i++){ /* Card 1 */
printf("%d ", i); /* Card 2' */
printf("%d\n", i*i);} /* Card 3 */
This saved a bit of typing and made errors less likely.