[swift-evolution] ternary operator ?: suggestion

Craig Cruden ccruden at novafore.com
Mon Jan 18 16:53:57 CST 2016


I have renamed the document - new link is

https://github.com/cacruden/swift-evolution/blob/master/proposals/0023-Pattern-Matching-Partial-Function.md <https://github.com/cacruden/swift-evolution/blob/master/proposals/0023-Pattern-Matching-Partial-Function.md>

I have initiated a pull request…. I think the proposal is sufficient to get to the review stage (which is a week)… so the haggling on the small stuff will likely happen again at that time anyway.

Of course my views may be corrupted by being too close to the proposal :p


> On 2016-01-18, at 3:04:35, Charles Constant <charles at charlesism.com> wrote:
> 
> I think examples are convincing, but ideally we would put most of them in separate document. 
> 
> Though I love reading about programming, I generally do it in a half-assed sort of way. Unless the writing is very blunt and clear, I don't really understand it until I need to do it myself. I doubt I'm the only person here like this. 
> 
> I badly want this proposal to gain traction (more so every time I find myself writing code that it could improve, which happens daily). I think the proposal ought to be short and sweet. I believe if we hold the reader's attention just long enough for them to understand what we're talking about, they'll be onboard. Once they're hooked, we have our second document with the list of examples.
> 
> It would also be great to have the "before snippet" and "after snippet" visually arranged side-by-side. I'm guessing markdown doesn't support this :(
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160119/600947cb/attachment.html>


More information about the swift-evolution mailing list