[swift-evolution] Better syntax for deferred?

Dennis Lysenko dennis.s.lysenko at gmail.com
Sat Jan 2 14:17:43 CST 2016

Deferring at the end of the function removes the ability to defer actions
on variables introduced in an inner scope.

On Sat, Jan 2, 2016, 1:57 PM Tino Heth via swift-evolution <
swift-evolution at swift.org> wrote:

> I have the terrible feeling something is wrong with my posts so that they
> get caught by spamfilters or similar…
> But as others stated as well:
> defer has a use case that is a little bit different from what you want to
> archive.
> > Why not use a solution that is widely used and better?
> I'm curious:
> Which languages have this "always" construct?
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160102/ab96da06/attachment.html>

More information about the swift-evolution mailing list