.@iTod defer doesn't have to be used with try-catch; put your cleanup code right by the initialization. e.g. file open/close.
-
-
-
-
-
@stephencelis@mjtsai@owensd At cost of another scope. And I said it *doesn't* count as an advantage. It's a difference w/o a distinction. -
-
@stephencelis@mjtsai@owensd Presumably scopes are't entirely free in Swift. But again, it's not important. I wouldn't argue at that level. - View other replies
-
@iTod Swift optimizes a lot at compile time. Wrapper structs are completely free, so `do` scopes may be, too. - Show more
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
David Owens II
Todd Ditchendorf
Rogelio Gudino
Michael Tsai
Stephen Celis