In the thirteenth century, Thomas Aquinas, the most influential medieval philosopher then and since, approached complex questions of theology, ethics, and existence with a method that bears striking resemblance to an algorithm.
Aquinas’s system, known as the scholastic method, aimed to produce clear, logical answers to questions that often seemed too va…