by koolba · 3y ago · 0 comments
How long have you been programming and what languages did you start off with? I know quite a few developers decades older than you that still don't know how to write a Makefile [1].
What's the deal with the inline emojis in the source? Is that what all the cool kids are doing these days or does it just force you to be mindful of non-ASCII input?
[1]: And even more that cannot write or understand dynamically generated targets...
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?
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.