Not to deny syntactic adv. of defer, but I think theres widespread unawareness that the same effect can be achieved in ObjC with try/finally
@iTod I knew about it, but when there are multiple things to clean up, try/finally is so awkward that people use goto and multiple labels.
-
-
@mjtsai Hm, I'm surprised you think there's a significant awkwardness diff between try/finally & gotos with labelhttps://gist.github.com/itod/ae269e123cf94e42ccff … -
-
-
- View other replies
-
-
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.
Todd Ditchendorf
Michael Tsai
David Owens II