[swift-evolution] [Pitch] Improving capturing semantics of local functions

Tino Heth 2th at gmx.de
Thu Nov 16 16:56:05 CST 2017

> the stat suggests that in 90%+ real-life cases [weak self] is used so the "weak func" syntax sugar is worth to consider as an addition to this proposal.
Slightly OT:
Just thought about making all captures weak by default… I know it’s probably to late for such a change, but I wonder if this was considered when closures were designed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171116/c7b5883e/attachment.html>

More information about the swift-evolution mailing list