Conditionals is an actively used design pattern. In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.

?Years Old

Languages with Conditionals include javascript, python

Example from javascript:

if (true)

Example from python:

if True:
 print("Hello world")

Last updated August 9th, 2020

Edit Conditionals on GitHub