Re: [swift-users] The value of enums

2016-11-06 Thread Dave Abrahams via swift-users
on Sun Nov 06 2016, Nevin Brackett-Rozinsky wrote: > …oh, I just realized we’re on -users not -evolution here. Perhaps I’ll > bring this up next time switch expressions are proposed. Thanks ;-) -- -Dave ___ swift-users mailing list

Re: [swift-users] The value of enums

2016-11-06 Thread Nevin Brackett-Rozinsky via swift-users
To the topic at hand, the project I’m currently working on has 2 enums, both with String raw values. For comparison, it has 3 classes (a Formatter subclass, the app delegate, and one more), 4 protocols, and 47 structs. One of the enums exists to select among the handful of struct types which

Re: [swift-users] Swift 3 Android hangs & crashes

2016-11-06 Thread Eric Wing via swift-users
On 10/31/16, Eric Wing wrote: > Hello, I've been trying to get Swift 3 working on Android. (I > previously had Swift 2.x working.) > > I have the baseline components built following the standard > Android/Swift instructions. > > But when I go to make a trivial, but real

Re: [swift-users] The value of enums

2016-11-06 Thread Dave Abrahams via swift-users
on Sun Nov 06 2016, Tino Heth wrote: > Enums are a fundamental part of Swift, so I guess they won't change > much — but I wonder if anyone shares my observations in real-life use… > > Afair, there are three different types of enums: > - Enums with raw values > - enums with associated objects >

Re: [swift-users] The value of enums

2016-11-06 Thread Erica Sadun via swift-users
> On Nov 6, 2016, at 4:07 AM, Tino Heth via swift-users > wrote: > > Enums are a fundamental part of Swift, so I guess they won't change much — > but I wonder if anyone shares my observations in real-life use… > > Afair, there are three different types of enums: > -

[swift-users] The value of enums

2016-11-06 Thread Tino Heth via swift-users
Enums are a fundamental part of Swift, so I guess they won't change much — but I wonder if anyone shares my observations in real-life use… Afair, there are three different types of enums: - Enums with raw values - enums with associated objects - Plain enums (no underlying value) I use the first