[swift-evolution] Strings in Swift 4

David Sweeris davesweeris at mac.com
Thu Jan 19 22:13:09 CST 2017



Sent from my iPhone

> On Jan 19, 2017, at 20:56, Ben Cohen via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Hi all,
> 
> Below is our take on a design manifesto for Strings in Swift 4 and beyond.
> 
> Probably best read in rendered markdown on GitHub:
> https://github.com/apple/swift/blob/master/docs/StringManifesto.md
> 
> We’re eager to hear everyone’s thoughts.
> 
> Regards,
> Ben and Dave

An enthusiastic +1

A couple more quick thoughts...

1) Is it just me, or is explicitly putting some of the "higher level" functionality in Foundation instead of stdlib kinda reminiscent of MVC? I guess UIKit/Cocoa would be the "View" part.

2) I like the idea of making String generic over its encoding... Would we need to nail down the hypothetical type promotion system for that to work, or can it all be handled internally?

- Dave Sweeris


More information about the swift-evolution mailing list