[swift-evolution] [Pitch] Replace 'inout' with '&'

Ricardo Parada rparada at mac.com
Mon Dec 21 13:20:44 CST 2015


> On Dec 19, 2015, at 4:10 PM, Erica Sadun <erica at ericasadun.com> wrote:
> 
> What would the ramifications of the following be? Each addresses the "confusable with labeling" issue but preserve the inout keyword.
> 
> func foo(x: inout Int)
> ...

I think I like this one better than all the others. 
I have not analyzed all the implications of having it there but it feels right. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151221/ef0a8e58/attachment.html>


More information about the swift-evolution mailing list