[swift-users] Justification for Swift Design Decisions?
austinzheng at gmail.com
Tue Oct 31 15:39:36 CDT 2017
To expand on this, most (if not all) the proposals in the list of proposals
on GitHub (https://github.com/apple/swift-evolution/tree/master/proposals)
have a "Rationale" link to a mailing list archive post by one of the Swift
core team members explaining why a certain decision was reached. Those are
probably worth looking through. Some of the simpler and less controversial
proposals have almost no explanation, but the larger and controversial
proposals have extensively written-up rationale posts.
On Tue, Oct 31, 2017 at 12:25 PM, David Sweeris via swift-users <
swift-users at swift.org> wrote:
> Specifically WRT to double quotes for characters, the Commonly Rejected
> Changes doc (https://github.com/apple/swift-evolution/blob/master/
> commonly_proposed.md) says, "Swift takes the approach of highly valuing
> Unicode. However, there are multiple concepts of a character that could
> make sense in Unicode, and none is so much more commonly used than the
> others that it makes sense to privilege them. We'd rather save single
> quoted literals for a greater purpose (e.g. non-escaped string literals)."
> Otherwise, off the top of my head I'm not sure. If it's a particularly
> controversial decision, there's a fair chance it's come up on the
> swift-evolution list, though, so maybe search its archives?
> Hope that helps,
> - Dave Sweeris
> > On Oct 31, 2017, at 8:52 AM, Michael Rogers via swift-users <
> swift-users at swift.org> wrote:
> > Hi, All:
> > I’m giving a presentation on Swift this weekend, and am trying to find
> justification for some of the design decisions that they made. Is there
> anything out there that goes into the detail of this? Like … why did the
> use “ for characters, or \() for String interpolation?
> > Thanks,
> > Michael
> > _______________________________________________
> > swift-users mailing list
> > swift-users at swift.org
> > https://lists.swift.org/mailman/listinfo/swift-users
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users