• 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle

  • fri@compuverse.uktoProgrammer Humor@lemmy.mlWar Crimes
    link
    fedilink
    arrow-up
    91
    ·
    edit-2
    1 year ago

    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.