[swift-evolution] [Review] SE 0192 - Non-Exhaustive Enums

Letanyan Arumugam letanyan.a at gmail.com
Thu Dec 21 07:43:19 CST 2017



> On 21 Dec 2017, at 05:16, Brent Royal-Gordon via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> On Dec 19, 2017, at 2:58 PM, Ted Kremenek via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> 	• What is your evaluation of the proposal?
> 
> I am pleased with the broad strokes of this design. I have quibbles with three areas:
> 
> 1. The `@exhaustive` attribute may be confusing because the term doesn't suggest versioning. My best alternative suggestion is `@frozen`, which matches existing programming terminology: something that has been frozen will not be changed in the future.
> 
> 

I like frozen, but what is its opposite? Is it still non-exhaustive?



More information about the swift-evolution mailing list