Expressions
Design
Short-circuiting operators
and and or operators makes it clearer that they act on control flow as opposed to other character? based binary operators
if condition and other_condition { }
if condition or other_condition { }
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
and and or operators makes it clearer that they act on control flow as opposed to other character? based binary operators
if condition and other_condition { }
if condition or other_condition { }