[swift-evolution] Colon vs. equals

Charles Constant charles at charlesism.com
Sat Feb 6 18:26:55 CST 2016


>
>  let dict = ["key" = "value"]


I'm having buyer's remorse over supporting this. At first glance, it looks
like it's overloading an assignment operator... to a string literal. I know
that's not what's really going on under the hood, but on a surface level it
just looks very ugly :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160206/7ad836f1/attachment.html>


More information about the swift-evolution mailing list