tmiahm·há 4 anos·discussThis is a pretty good book that captures a lot of how GE went from probably the most influential company in the business world to what they are now: https://www.goodreads.com/en/book/show/50086786-lights-out
tmiahm·há 5 anos·discussThe difference is your example uses bool values, the code in question uses expressions that (should) evaluate to bool. && is short-circuited if a is false, such that b is not evaluated.