Comment Re:AND before OR? (Score 1) 254
Distributive laws for Boolean logic and arithmetic:
a OR (b AND c) = (a OR b) AND (a OR c)
a + (b * c) = a + (b * c)
a AND (b OR c) = (a AND b) OR (a AND c)
a * (b + c) = (a * b) + (a * c)
i.e. AND distributes over OR and vice versa. Multiplication always distributes over addition and not vice versa. Probably a few other fundamental differences too.