[swift-evolution] [Proposal] Swift 2.2: #if swift language version

Rod Brown rodney.brown6 at icloud.com
Sun Dec 20 14:41:12 CST 2015


While that is true, I suspect with the race to a stable language, the plan is to design features as if the language were to stay solid. I wonder about the wisdom in designing part of the language to handle the fact they are not finished designing the language.

Perhaps as an compromise, they could treat different versions of swift as features in and of themselves?

- Rod

> On 21 Dec 2015, at 7:33 AM, Radosław Pietruszewski via swift-evolution <swift-evolution at swift.org> wrote:
> 
> But the thing is, right now it’s not just new features that show up in new releases. We also have breaking syntax changes.
> 
> Feature detection make more sense in the future (perhaps one day we could have an “unstable” Swift branch with experimental features), but right now version detection makes more sense.
> 
> — Radek
> 
>> On 20 Dec 2015, at 20:28, James Campbell via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> I think we should be moving towards feature detection over swift version detection
> 
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151221/43ba9804/attachment.html>


More information about the swift-evolution mailing list