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 Conditional21 documented Misconceptions
Check YourselfConditionalIsSequence
If-else is equivalent to sequence of two ifs
IfIsLoop
The body of an if-statement executes repeatedly, as long as the condition holds
MapToBooleanWithIf
To map a boolean expression to a bool, an if statement is necessary
MapToBooleanWithTernaryOperator
To map a boolean expression to a bool, a ternary conditional operator is necessary
RecursiveFunctionNeedsIfElse
A recursive function needs to contain an if-else statement