enighma
06/13/2017, 11:20 PMwhen
-statement generally look better than an if-statement?
I see my self more and more using when
-statements even though there are only two branches. Mostly because I think it’s more readable and flexible than an if
-statement (If I want to add more cases later on).