[swift-evolution] ternary operator ?: suggestion

Chris Lattner clattner at apple.com
Sun Dec 6 00:22:45 CST 2015


> On Dec 5, 2015, at 11:40 AM, David Hart <david at hartbit.com> wrote:
> 
>> This is subtle and requires thought
> 
> What do you envision as the pitfalls of the design thinking behind if/switch expressions? I’m not a compiler programmer, but a prog-lang enthusiast. I wouldn’t mind a little nudge in the right direction.

I responded with some concerns and thoughts on the "Control Flow Expressions” thread.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151205/3a2215c6/attachment.html>


More information about the swift-evolution mailing list