Complicated code only creates problems when humans try to change it. When we try to change code, we spend energy understanding it, and so we label code “complicated” when it feels like it requires “too much” energy to understand. That’s why we design software: we organize code in a way that reduces the cost of understanding it.
This is a companion discussion topic for the original entry at https://blog.thecodewhisperer.com/permalink/too-many-ifs