/
Giving Names to Boolean Literals [VU2]

Giving Names to Boolean Literals [VU2]

Tip VU2

Boolean literals have “true” or “false” values. Given how easy it can be to have boolean logic flipped and the limited meaning that can be communicated with “true” and “false” in many circumstances, it is often beneficial to give boolean literals names.

 

See the following example:

Related content