@noescape is safer because it does not require thinking about lifetime issues 
for captured objects.  My hunch was that @noescape (or @autoclosure with 
implies @noescape) is also more common.  I had a look through the standard 
library and this is definitely the case there.

What does everyone think about making @noescape the default and introducing 
@escaping (or something similar) to annotate function arguments that do escape 
the call stack?

Matthew
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to