Best coding practice.

[quote author=Coding Badly link=topic=122407.msg923729#msg923729 date=1347642715]
In some expressions, byte will be promoted to int. bool (with true and false) is a better choice. Using bool when the return value really is a boolean (true/false) value allows the compiler to perform optimizations it would otherwise not be able to perform.[/quote]
Coding Badly
Do you have a link to the promotion to int for byte that does not happen to bool?
Do you have a link that explains the optimizations that can happen?
Best regards
Jantje