this post was submitted on 15 Aug 2023
748 points (97.1% liked)

Programmer Humor

32721 readers
358 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 91 points 1 year ago* (last edited 1 year ago) (1 children)

Looks like it creates a few emoji printers in a vector, then prints them all. The output is all emoji, of course. The main function exits with a random return value just to be more quirky.

I'm not sure what the purpose of the 😎 function is. In main that first predicate is always true, so it prints the poop emoji. I don't know why it's behind an if.

Also, there's a copy-paste error on line 31. Wrong emoji is used.

[–] [email protected] 30 points 1 year ago

This guy emotes ᕦ(ò_óˇ)ᕤ