Logical usage of the assignments operators