+1
I prefer the current syntax from a subjective and readability perspective.
However, the current notation of -> Type being used to declare an input
parameter to set {} just strikes me as weird and wrong. The symbol -> means
“returns a” or “yields”. Since we’re declaring a type that might be either
inbound or outbound, the neutral : is more appropriate.
I didn’t initially think this was all that important to address, but having
considered it more, I agree that it’s a wart worth excising and is worth the
disruption for users.
Garth
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution