The if-then reasoning is very common in programming language because this follows the logical thought. There is a cause, therefore, it must have an effect. Computers are very particular with logic because it is reliable and leaves little room for argument.