Destroy All Ifs — A Perspective from Functional Programming (degoes.net)