Binary’s Sibling Ternary
The ternary operator for many programming languages allows you to use a shorthand when making simple evaluations. The usual sequence of conditions (and this can vary between languages, so search for ‘your_language ternary operator‘ for more information.) Using this operator allows us to take ~6 lines of code and replace it with one [...]