[swift-evolution] [Pitch] Improving capturing semantics of local functions
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.
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...
More information about the swift-evolution