Enum cases as protocol witnesses

I disagree with this. Enum cases already work like static vars and functions, and can be used like that everywhere. Except for protocol conformances. That, to me, came as a real surprise when I first learnt it, and still baffles me as inconsistent and strange.

The proposed change would make the mental model easier IMHO, as it would make the enum story more consistent, with fewer exceptions. It would ease the cognitive burden.

8 Likes