[swift-users] Justification for Swift Design Decisions?

Austin Zheng austinzheng at gmail.com
Tue Oct 31 15:43:41 CDT 2017


Sorry for the second email, but there's one link in particular that I think
might be valuable (and is not easily found any other way). This little
discussion by Chris Lattner discusses the dynamic nature of some popular
programming languages compared to Swift, and has some explanation as to why
Swift does things its way.
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001948.html

Best,
Austin

On Tue, Oct 31, 2017 at 1:39 PM, Austin Zheng <austinzheng at gmail.com> wrote:

> 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.
>
> Best,
> Austin
>
> 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/common
>> ly_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
>> https://lists.swift.org/mailman/listinfo/swift-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171031/00127298/attachment.html>


More information about the swift-users mailing list