[swift-evolution] Proposal: Replace ?? by an (optional) argument to ?

Amir Michail a.michail at me.com
Mon Jan 25 20:03:48 CST 2016


Examples:

* instead of x ?? false, you would have x?(false)
* instead of x?.isEmpty ?? false, you would have x?(false).isEmpty

I think this change would result in cleaner looking code.




More information about the swift-evolution mailing list