MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/dbilwe/fizzbuzz/f23s18z/?context=3
r/ProgrammerAnimemes • u/bucket3432 • Sep 30 '19
57 comments sorted by
View all comments
Show parent comment
4
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.
View all comments
Show parent comment
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.