Re: [swift-users] Justification for Swift Design Decisions?

2017-10-31 Thread Michael Rogers via swift-users


> On Oct 31, 2017, at 3:39 PM, Austin Zheng  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.

This is perfect, thank you! And it is comforting to see that so much thought 
went into these decisions ...

Michael___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


Re: [swift-users] Justification for Swift Design Decisions?

2017-10-31 Thread Austin Zheng via swift-users
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@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@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@swift.org
> > https://lists.swift.org/mailman/listinfo/swift-users
>
> ___
> swift-users mailing list
> swift-users@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


Re: [swift-users] Justification for Swift Design Decisions?

2017-10-31 Thread David Sweeris via swift-users
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 
>  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@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users