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.
- the Conditionals wikipedia page
- Have a question about Conditionals not answered here? Email me and let me know how I can help.
if (true) console.log("hi!")
Example from python:
if True: print("Hello world")
Last updated February 18th, 2020