Why is && preferable to & and || preferable to |?
&&
&
||
|
I asked someone who\'s been programming for years a
It's important, because if the cost of evaluation of bool2 (for instance) is high but bool1 is false, then you've saved yourself a fair bit of computation by using && over &