Conditional
In a conditional statement or expression the value of a condition determines which alternative pieces of code to execute.
Related concepts: StatementExpressionControl Flow
Closest Wikipedia entry: Conditional (computer programming)
Misconceptions about Conditional23 documented Misconceptions
Check YourselfConditionalIsSequence
If-else is equivalent to sequence of two ifsIfIsLoop
The body of an if-statement executes repeatedly, as long as the condition holdsMapToBooleanWithIf
To map a boolean expression to a bool, an if statement is necessaryMapToBooleanWithTernaryOperator
To map a boolean expression to a bool, a ternary conditional operator is necessaryRecursiveFunctionNeedsIfElse
A recursive function needs to contain an if-else statement