https://www.somethingsblog.com/2024/10/20/master-rs-switch-function-efficient-decision-making/