Conditional

Noun · Development

Definitions

  1. A control-flow construct that executes different code paths depending on whether a condition evaluates to true or false. Conditionals are fundamental in programming, but deep or repeated conditional logic can also be a sign that behavior needs refactoring into clearer abstractions.

    In plain English: A piece of logic that chooses between different paths based on a condition.

    Example: "The bug was in the nested conditional that handled retries, where one branch accidentally skipped cleanup only on timeout plus cancel combinations."

Related Terms