Wow that's horrible. They're using c++.
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
If you really need some nightmare fuel, some of us use c++ every day and even enjoy it.
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.
Now imagine the poor sod who gets this as an interview question
"Please extend the following code in the same code style to sort [😀,😃,😄,😁,😆] using bubble sort"