[swift-evolution] Modernize Switch/Case Statements?
howard.lovatt at gmail.com
Thu Jan 28 00:24:43 CST 2016
You are correct with what you say. The issue to address is why there needs
to be a pressing change from C. EG in the past for switch changing default
to case _ has been rejected because C uses default. Needs a strong case for
case clauses :).
On 28 January 2016 at 16:54, Brent Royal-Gordon <brent at architechies.com>
> > I think improvements to switch, if, for, and ?: have been ruled out in
> the list of already requested but rejected changes.
> First of all, the commonly requested changes list does not represent
> things that have been "ruled out". It represents things that have been
> repeatedly discussed without a satisfactory solution, so if you're going to
> propose something in those areas, you should familiarize yourself with that
> background and be prepared to address the issues that have been brought up
> Secondly, what's been discussed in the past is making switch and if into
> expressions. This proposal has nothing to do with that.
> Brent Royal-Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution