Hacker News new | ask | show | jobs
by D4ckard 955 days ago
I started off learning Python and C++. At some point I got fed up with C++ and switched to C.

Haha, the emoji thing was something I was doing for about a week or so. You see emojis used a lot more around Rust I guess. I never bothered to remove them. I think the bugs around the PID are fun. The ones in the comments might go at some point, though I didn't experience any problems with editors (Helix, Emacs, and VSCode all work) so far.

Should I maybe disabled printing emojis to standard output in the REPL if terminal colors are disabled as well?

1 comments

> I started off learning Python and C++. At some point I got fed up with C++ and switched to C.

How many years and hours per day?

> Should I maybe disabled printing emojis to standard output in the REPL if terminal colors are disabled as well?

I generally avoid anything that's not ASCII if it's possible. Tying it to terminal colors or terminal output (e.g. "if [ -t 1 ] ...") is common too. Though I'm not a big fan of things changing based on the runtime environment as it makes debugging annoying.