Re:Avoid Else, Return Early (2013)
by yoz-y on Monday March 26, 2018 @10:10AM
(#16678999)
Swift also has the `defer` statement which makes this particular approach usable even if there is cleanup to do before the function can exit.
[ Parent
| on HN ]
There are no comments on this comment yet.