this post was submitted on 15 Aug 2023
729 points (97.2% liked)

Programmer Humor

31251 readers
955 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 36 points 10 months ago* (last edited 10 months ago) (6 children)

It would be great to use some emojis in coding.

Imagine how much more readable it would be if you could break a loop with πŸ’€ or return true with πŸ‘. Or use ❓for ifs, or ↔️ for switch (the emoji didn't work for that one). Or use an emoji to represent a custom object?

Maybe the ECMA should get on that!

Edit: I guess you can use emojis for custom objects in js.

Edit 2: ➑ for console.log

[–] [email protected] 2 points 10 months ago (1 children)

emacs lisp already lets you use the full range of unicode.

[–] [email protected] 1 points 10 months ago
load more comments (4 replies)