Using assignments in conditional expressions may cause errors that are hard to detect and is therefore considered bad programming practice.