Hacker News new | ask | show | jobs
by silok 1040 days ago
The guard statement in swift is pretty much designed for this pattern, and it works well imo.