No exit from "if"

You have never, ever seen any example code with "if"s written like those.
Examine them carefully