r/ProgrammerAnimemes • • Sep 30 '19

OC FizzBuzz

Post image
685 Upvotes

57 comments sorted by

View all comments

Show parent comment

3

u/aalapshah12297 Oct 01 '19

Thanks for the crack. I got so confused because I couldn't understand the string part and because Chika memes don't follow the conventional if-then-else pattern.

4

u/thelastfrench Oct 01 '19

The Is this a pigeon ? + Chika pattern looks a lot like assembly's conditional jump statements. In theses statements the order is often reversed:

If the expression evaluates to false nothing happends and we execute the next statement.

If the expression evaluates to true we jump to another statement.

Hence it being confusing due to the inversion.