[swift-evolution] Strings in Swift 4

Matthew Johnson matthew at anandabits.com
Fri Jan 27 19:32:02 CST 2017


> 
> Right.  The standard approach we take in Swift has been to start with something baked into the language, then generalize it out to the stdlib over time if there is a reason to.  I’d love to see the various magic around Optional be accessible to other types, for example.
> 
> -Chris
> 

+1.  I love how Swift takes this approach.  I would love to see Optional sugar expanded such that types like Result, for example, could take advantage of it.


More information about the swift-evolution mailing list