Using short-curcuit logical operators ("&&" and "||") instead of regular ("&" and "!")
Using short-curcuit logical operators ("&&" and "||") instead of regular ("&" and "!")